From 20bbe3f3a52e5f38a9d557dfbfd04beb2935188f Mon Sep 17 00:00:00 2001 From: Shulhan Date: Fri, 8 Dec 2023 08:38:54 +0700 Subject: editor: reduce the padding in the content The gap make us confuse between space and padding. --- editor/editor.ts | 4 ++-- 1 file 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); -- cgit v1.3