mirror of
https://github.com/zadam/trilium.git
synced 2025-12-04 22:44:25 +01:00
Fix dark selection colors in MathLive math-field
This commit is contained in:
parent
1471a72633
commit
edba8188fe
@ -192,6 +192,13 @@
|
||||
outline-offset: 6px;
|
||||
}
|
||||
|
||||
/* Override MathLive selection colors to prevent dark blocks in light mode */
|
||||
.ck.ck-math-form math-field {
|
||||
--selection-background-color: rgba(33, 150, 243, 0.2);
|
||||
--selection-color: inherit;
|
||||
--contains-highlight-background-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
/* Make the raw LaTeX textarea flat (no rounded corners or hover animation) */
|
||||
.ck-math-view .ck-labeled-field-view textarea {
|
||||
border-radius: 0 !important;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user