diff --git a/obsidian.css b/obsidian.css index e7ba856..7d0c277 100644 --- a/obsidian.css +++ b/obsidian.css @@ -484,7 +484,7 @@ body:not(.hider-ribbon):not(.hider-frameless) margin: -0.5px auto 0; text-align: center; top: 50%; - transform: translate3d(0, -50%, 0); + transform: translateY(-50%); padding: 0; left: 0; right: 0; @@ -1696,7 +1696,7 @@ body:not(.is-grabbing) .nav-folder-title:hover { vertical-align: unset; align-items: center; color: var(--text-faint); - transform: translate3d(0, -50%, 0); + transform: translateY(-50%); } .search-input-clear-button:hover { color: var(--text-normal); @@ -2593,7 +2593,7 @@ body.plugin-sliding-panes-rotate-header line-height: 1; padding: 10px 6px !important; margin: 0; - transform: translate3d(1.5px, 0, 0); + transform: translateX(1.5px); } body.plugin-sliding-panes-rotate-header .workspace @@ -2932,7 +2932,7 @@ html .plugin-sliding-panes-rotate-header.embedded-note-title .CodeMirror-lines { /* Fancy cursor */ .fancy-cursor .CodeMirror-cursor { border-left: 2px solid var(--text-accent); - transform: translate3d(-0.5px, 0, 0); + transform: translateX(-0.5px); } .markdown-source-view { padding: 0; @@ -3185,7 +3185,7 @@ input[type="checkbox"]:checked:before { position: absolute; left: -2.5rem; top: 50%; - transform: translate3d(0, -50%, 0); + transform: translateY(-50%); } .markdown-preview-view li > .collapse-indicator:before { @@ -3280,7 +3280,7 @@ input[type="checkbox"]:checked:before { width: 18px; left: 0 !important; padding-right: 0; - transform: translate3d(2rem, 0, 0); + transform: translateX(2rem); } .CodeMirror-foldmarker { @@ -4320,7 +4320,7 @@ a[href*="obsidian://search"]:after > span:first-child:not(:only-child) { position: absolute; left: 0; - transform: translate3d(-100%, 0, 0); + transform: translateX(-100%); font-size: 11px !important; display: block; height: 100%; @@ -4350,7 +4350,7 @@ a[href*="obsidian://search"]:after width: 1px; position: absolute; top: 0; - transform: translate3d(-1.5px, 0, 0); + transform: translateX(-1.5px); background: var(--shade-5); height: 100%; } @@ -4409,7 +4409,7 @@ a[href*="obsidian://search"]:after top: 51%; left: 0; display: block; - transform: translate3d(-56%, -50%, 0); + transform: translate(-56%, -50%); width: 6px; height: 6px; content: url('data:image/svg+xml; utf8, '); diff --git a/src/010-main.css b/src/010-main.css index 1f708e5..bb285c7 100644 --- a/src/010-main.css +++ b/src/010-main.css @@ -479,7 +479,7 @@ body:not(.hider-ribbon):not(.hider-frameless) margin: -0.5px auto 0; text-align: center; top: 50%; - transform: translate3d(0, -50%, 0); + transform: translateY(-50%); padding: 0; left: 0; right: 0; @@ -1691,7 +1691,7 @@ body:not(.is-grabbing) .nav-folder-title:hover { vertical-align: unset; align-items: center; color: var(--text-faint); - transform: translate3d(0, -50%, 0); + transform: translateY(-50%); } .search-input-clear-button:hover { color: var(--text-normal); diff --git a/src/011-sliding-panes.css b/src/011-sliding-panes.css index 3bf979f..e41139b 100644 --- a/src/011-sliding-panes.css +++ b/src/011-sliding-panes.css @@ -73,7 +73,7 @@ body.plugin-sliding-panes-rotate-header line-height: 1; padding: 10px 6px !important; margin: 0; - transform: translate3d(1.5px, 0, 0); + transform: translateX(1.5px); } body.plugin-sliding-panes-rotate-header .workspace diff --git a/src/020-document.css b/src/020-document.css index ed6c7cf..fd7f78b 100644 --- a/src/020-document.css +++ b/src/020-document.css @@ -42,7 +42,7 @@ /* Fancy cursor */ .fancy-cursor .CodeMirror-cursor { border-left: 2px solid var(--text-accent); - transform: translate3d(-0.5px, 0, 0); + transform: translateX(-0.5px); } .markdown-source-view { padding: 0; @@ -295,7 +295,7 @@ input[type="checkbox"]:checked:before { position: absolute; left: -2.5rem; top: 50%; - transform: translate3d(0, -50%, 0); + transform: translateY(-50%); } .markdown-preview-view li > .collapse-indicator:before { @@ -390,7 +390,7 @@ input[type="checkbox"]:checked:before { width: 18px; left: 0 !important; padding-right: 0; - transform: translate3d(2rem, 0, 0); + transform: translateX(2rem); } .CodeMirror-foldmarker { diff --git a/src/050-editor.css b/src/050-editor.css index 12946d3..655fd6b 100644 --- a/src/050-editor.css +++ b/src/050-editor.css @@ -93,7 +93,7 @@ > span:first-child:not(:only-child) { position: absolute; left: 0; - transform: translate3d(-100%, 0, 0); + transform: translateX(-100%); font-size: 11px !important; display: block; height: 100%; @@ -123,7 +123,7 @@ width: 1px; position: absolute; top: 0; - transform: translate3d(-1.5px, 0, 0); + transform: translateX(-1.5px); background: var(--shade-5); height: 100%; } @@ -182,7 +182,7 @@ top: 51%; left: 0; display: block; - transform: translate3d(-56%, -50%, 0); + transform: translate(-56%, -50%); width: 6px; height: 6px; content: url('data:image/svg+xml; utf8, ');