diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-09-13 18:52:01 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-09-13 18:59:13 +0800 |
commit | f1f5462fadd410dbbb6c284481b6ca7219313e64 (patch) | |
tree | 3ec7d26eb68aca7ebc774ea8c934061dcb0c744e /src/css | |
parent | 63a0a58a4b7ae086a887ffabb6c764963e62cd2e (diff) |
feat: Style code block even line is empty
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/index.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/css/index.css b/src/css/index.css index 93a4918..0997779 100644 --- a/src/css/index.css +++ b/src/css/index.css | |||
@@ -64,7 +64,8 @@ body { | |||
64 | } | 64 | } |
65 | 65 | ||
66 | /* FIXME For those empty line (no child with cm-comment) */ | 66 | /* FIXME For those empty line (no child with cm-comment) */ |
67 | .CodeMirror-line:has(.cm-comment) { | 67 | .inside-code-block, |
68 | .CodeMirror-line:has(.cm-formatting-code-block) { | ||
68 | background: rgba(0,0,0,.05) !important; | 69 | background: rgba(0,0,0,.05) !important; |
69 | 70 | ||
70 | .cm-comment { | 71 | .cm-comment { |