diff --git a/src/editor/index.css b/src/editor/index.css index 6bc7cd71..764cd756 100644 --- a/src/editor/index.css +++ b/src/editor/index.css @@ -148,7 +148,6 @@ span.ag-math { top: 0; position: relative; padding: 0; - color: #000; background: transparent; } diff --git a/static/themes/dark.css b/static/themes/dark.css index 67da7571..5f7f9f23 100755 --- a/static/themes/dark.css +++ b/static/themes/dark.css @@ -362,6 +362,10 @@ code { } } +.ag-hide.ag-math > .ag-math-render { + color: #efefef; +} + #ag-editor-id pre.ag-code-block, #ag-editor-id pre.ag-html-block { padding: .4rem 1rem; diff --git a/static/themes/light.css b/static/themes/light.css index 47170f9e..d1c7166a 100644 --- a/static/themes/light.css +++ b/static/themes/light.css @@ -334,6 +334,10 @@ code { } } +.ag-hide.ag-math > .ag-math-render { + color: #333333; +} + #ag-editor-id pre.ag-code-block, #ag-editor-id pre.ag-html-block { padding: .4rem 1rem;