From c92e5f2d59a7822f790bf372634a2318afcae660 Mon Sep 17 00:00:00 2001 From: "ala'n (Alexey Stsefanovich)" Date: Tue, 10 Oct 2023 03:51:31 +0200 Subject: [PATCH] refactor(uip-editor): small stylistic fixes for header section --- src/plugins/editor/editor.header.less | 6 +++++- src/plugins/editor/editor.less | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/plugins/editor/editor.header.less b/src/plugins/editor/editor.header.less index 368a1262..0b6d2922 100644 --- a/src/plugins/editor/editor.header.less +++ b/src/plugins/editor/editor.header.less @@ -16,7 +16,11 @@ html { border-bottom: 1px solid var(--uip-editor-divider, transparent); font-weight: 500; - padding: 2px 10px; + + .uip-editor[label] &, + .uip-editor[collapsible] & { + padding: 2px 10px; + } &-title { margin-inline-end: auto; diff --git a/src/plugins/editor/editor.less b/src/plugins/editor/editor.less index bf4cbf26..58b6e22f 100644 --- a/src/plugins/editor/editor.less +++ b/src/plugins/editor/editor.less @@ -40,11 +40,12 @@ html { &-container { flex: 1 1 auto; + color: inherit; } &-container &-code { margin: 0; padding: 0; - color: initial; + color: inherit; background: none; }