aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-12-08 08:38:54 +0700
committerShulhan <ms@kilabit.info>2023-12-08 08:38:54 +0700
commit20bbe3f3a52e5f38a9d557dfbfd04beb2935188f (patch)
treeb26f3077ddcc47fc7c89280cb8ab0a96a422d3f3
parent1257860c8c1593eb4dfb17b91de3db69ef586edf (diff)
downloadpakakeh.ts-20bbe3f3a52e5f38a9d557dfbfd04beb2935188f.tar.xz
editor: reduce the padding in the content
The gap make us confuse between space and padding.
-rw-r--r--editor/editor.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor.ts b/editor/editor.ts
index 0c81f2a..5b721a1 100644
--- a/editor/editor.ts
+++ b/editor/editor.ts
@@ -157,7 +157,7 @@ export class WuiEditor {
color: dimgrey;
display: inline-block;
font-family: monospace;
- margin-right: 8px;
+ margin-right: 4px;
padding: 0px 8px;
position: sticky;
text-align: right;
@@ -165,7 +165,7 @@ export class WuiEditor {
}
.${WUI_EDITOR_CLASS_CONTENT} {
display: inline-block;
- padding: 0px 8px;
+ padding: 0px 8px 0 0;
vertical-align: top;
white-space: pre;
width: calc(100% - 10em);