From 3fed387258b2ce2ea45f4643c245749047755066 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Raimund=20Schl=C3=BC=C3=9Fler?= Date: Tue, 28 Feb 2023 09:57:27 +0100 Subject: [PATCH] Fix rich content placeholder position MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Raimund Schlüßler --- src/components/NcRichContenteditable/NcRichContenteditable.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/NcRichContenteditable/NcRichContenteditable.vue b/src/components/NcRichContenteditable/NcRichContenteditable.vue index 0ed33e37e8..ad93522712 100644 --- a/src/components/NcRichContenteditable/NcRichContenteditable.vue +++ b/src/components/NcRichContenteditable/NcRichContenteditable.vue @@ -628,7 +628,7 @@ export default { overflow-y: auto; width: auto; margin: 0; - padding: 6px; + padding: 8px; cursor: text; white-space: pre-wrap; word-break: break-word; @@ -646,6 +646,7 @@ export default { &--empty:before { content: attr(placeholder); color: var(--color-text-maxcontrast); + position: absolute; } &[contenteditable='false']:not(&--disabled) {