@@ -237,7 +237,7 @@ body .excalidraw {
237237 hsl (
238238 var (--base-h ),
239239 calc (var (--base-s ) - 20% ),
240- calc (var (--base-l ) - 45 % )
240+ calc (var (--base-l ) - 50 % )
241241 );
242242 --tx3 :
243243 hsl (
@@ -1574,14 +1574,12 @@ body {
15741574.theme-dark .pdf-viewer .canvasWrapper {
15751575 opacity : var (--pdf-dark-opacity );
15761576}
1577- .theme-dark .pdf-invert-dark .workspace-leaf-content [data-type = pdf ] .pdf-viewer .canvasWrapper ,
1578- .theme-dark .pdf-invert-dark .workspace-leaf-content [data-type = pdf ] .pdf-thumbnail-view .thumbnailImage {
1577+ .theme-dark .pdf-invert-dark .workspace-leaf-content [data-type = pdf ] .pdf-viewer .canvasWrapper {
15791578 filter : invert (1 ) hue-rotate (180deg );
15801579 mix-blend-mode : screen;
15811580}
15821581
1583- .theme-light .pdf-blend-light .workspace-leaf-content [data-type = pdf ] .pdf-viewer .canvasWrapper ,
1584- .theme-light .pdf-blend-light .workspace-leaf-content [data-type = pdf ] .pdf-thumbnail-view .thumbnailImage {
1582+ .theme-light .pdf-blend-light .workspace-leaf-content [data-type = pdf ] .pdf-viewer .canvasWrapper {
15851583 mix-blend-mode : multiply;
15861584}
15871585
@@ -3526,19 +3524,19 @@ body {
35263524
35273525/* Image zoom */
35283526/* MIT License | Copyright (c) Stephan Ango (@kepano) */
3529- body : not (.zoom-off ) .view-content div : not (.canvas-node-content ) img {
3527+ body : not (.zoom-off ) .workspace-leaf-content [ data-type = markdown ] . view-content div : not (.canvas-node-content ) img {
35303528 max-width : 100% ;
35313529 cursor : zoom-in;
35323530}
3533- body : not (.zoom-off ) .view-content img : active {
3531+ body : not (.zoom-off ) .workspace-leaf-content [ data-type = markdown ] . view-content img : active {
35343532 cursor : zoom-out;
35353533}
3536- body : not (.zoom-off ) .view-content .markdown-preview-view img [referrerpolicy = no-referrer ]: active {
3534+ body : not (.zoom-off ) .workspace-leaf-content [ data-type = markdown ] . view-content .markdown-preview-view img [referrerpolicy = no-referrer ]: active {
35373535 background-color : var (--background-primary );
35383536 padding : 10px ;
35393537}
3540- body : not (.zoom-off ) .view-content .markdown-preview-view img [referrerpolicy = no-referrer ]: active ,
3541- body : not (.zoom-off ) .view-content .image-embed : not (.canvas-node-content ): active {
3538+ body : not (.zoom-off ) .workspace-leaf-content [ data-type = markdown ] . view-content .markdown-preview-view img [referrerpolicy = no-referrer ]: active ,
3539+ body : not (.zoom-off ) .workspace-leaf-content [ data-type = markdown ] . view-content .image-embed : not (.canvas-node-content ): active {
35423540 --container-img-width : 100% ;
35433541 --container-img-max-width : 100% ;
35443542 aspect-ratio : unset;
@@ -3558,7 +3556,7 @@ body:not(.zoom-off) .view-content .image-embed:not(.canvas-node-content):active
35583556 right : 0 ;
35593557 bottom : 0 ;
35603558}
3561- body : not (.zoom-off ) .view-content .image-embed : not (.canvas-node-content ): active : after {
3559+ body : not (.zoom-off ) .workspace-leaf-content [ data-type = markdown ] . view-content .image-embed : not (.canvas-node-content ): active : after {
35623560 background-color : var (--background-primary );
35633561 opacity : 0.9 ;
35643562 content : " " ;
@@ -3569,7 +3567,7 @@ body:not(.zoom-off) .view-content .image-embed:not(.canvas-node-content):active:
35693567 right : 1px ;
35703568 z-index : 0 ;
35713569}
3572- body : not (.zoom-off ) .view-content .image-embed : not (.canvas-node-content ): active img {
3570+ body : not (.zoom-off ) .workspace-leaf-content [ data-type = markdown ] . view-content .image-embed : not (.canvas-node-content ): active img {
35733571 aspect-ratio : unset;
35743572 top : 50% ;
35753573 z-index : 99 ;
@@ -3585,7 +3583,7 @@ body:not(.zoom-off) .view-content .image-embed:not(.canvas-node-content):active
35853583 position : absolute;
35863584 opacity : 1 ;
35873585}
3588- body : not (.zoom-off ) .view-content .markdown-source-view .mod-cm6 .cm-content > [contenteditable = false ]: has (.image-embed : not (.canvas-node-content ): active ) {
3586+ body : not (.zoom-off ) .workspace-leaf-content [ data-type = markdown ] . view-content .markdown-source-view .mod-cm6 .cm-content > [contenteditable = false ]: has (.image-embed : not (.canvas-node-content ): active ) {
35893587 contain : unset !important ;
35903588}
35913589
0 commit comments