aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-08 11:32:05 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-08 11:32:05 +0800
commitaf01343946ce9f47525989d76db6786e2c61f3bf (patch)
treecec5b83e8db399719dd97e8367383fda43c0a42e /src
parent4f17bc1431ead015cd14d7646dd5356c589d6d1d (diff)
fix(CSS): padding of horizontal scroll in editor
Diffstat (limited to 'src')
-rw-r--r--src/css/index.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/css/index.css b/src/css/index.css
index 8ae7337..cc26dcd 100644
--- a/src/css/index.css
+++ b/src/css/index.css
@@ -67,11 +67,22 @@ body {
67 font-size: 1rem; 67 font-size: 1rem;
68 order: 1; 68 order: 1;
69 69
70 .CodeMirror-scroll {
71 margin-right: 0;
72 }
73
70 &.focus { 74 &.focus {
71 border: var(--content-focus-border); 75 border: var(--content-focus-border);
72 outline: var(--content-focus-border); 76 outline: var(--content-focus-border);
73 } 77 }
74 78
79 /* padding of end of line */
80 span[role="presentation"]::after {
81 content: '';
82 display: inline-block;
83 margin-right: 30px;
84 }
85
75 span { 86 span {
76 white-space: pre; 87 white-space: pre;
77 } 88 }