vault backup: 2026-10-06 15:01:10

This commit is contained in:
ben committed 2026-10-06 15:01:11 -07:00
1 parent eefe4d67b0
commit 3385a3de64
11 files changed
+603 -354

No files matched your search

+9 -16
View File
@@ -9,7 +9,7 @@
& > .cm-scroller, & > .cm-announcment {
align-self: start;
width: 100%
width: 100%;
}
/* taken from Obsidian, doesn't apply automatically,
@@ -20,14 +20,13 @@
box-shadow: 0 0 0 var(--input-border-width-focus) var(--background-modifier-border-focus);
}
/* centering the popup */
& .cm-tooltip-cursor.cm-tooltip {
left: unset !important;
& .cm-tooltip-arrow {
left: 50% !important;
transform: translateX(-50%);
}
/*
Center the popup. CodeMirror writes the tooltip and arrow positions as
inline styles, so LatexTooltipPositioning.ts keeps those values aligned
without using priority overrides here.
*/
& .cm-tooltip-cursor.cm-tooltip .cm-tooltip-arrow {
transform: translateX(-50%);
}
[jax="CHTML"][display="true"] {
@@ -42,9 +41,7 @@
@supports (anchor-name: --test) {
.excalidraw-LatexPrompt .cm-editor .cm-tooltip-cursor.cm-tooltip {
position: fixed !important;
position-anchor: --latex-editor;
top: unset !important;
max-width: calc(100vw - var(--size-4-4));
margin: var(--size-4-2) 0;
overflow-x: clip;
@@ -52,9 +49,5 @@
&.cm-tooltip-above {
bottom: anchor(top);
}
&.cm-tooltip-below {
top: anchor(bottom) !important;
}
}
}
}