From 51c5c4ee634273879bc04e4af40f236af3c3dd4c Mon Sep 17 00:00:00 2001 From: Cyril Date: Mon, 6 Oct 2025 17:00:50 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(frontend)=20fix=20overlapping=20place?= =?UTF-8?q?holders=20in=20multi-column=20layout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit placeholders no longer overlap when adding 2–3 column, text wraps correctly Signed-off-by: Cyril --- CHANGELOG.md | 1 + .../impress/src/features/docs/doc-editor/styles.tsx | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 15b62c6f79..2614231a3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,7 @@ and this project adheres to - 🐛(frontend) fix attachment download filename #1447 - 🐛(frontend) exclude h4-h6 headings from table of contents #1441 - 🔒(frontend) prevent readers from changing callout emoji #1449 +- 🐛(frontend) fix overlapping placeholders in multi-column layout #1455 - 🐛(backend) filter invitation with case insensitive email ## [3.7.0] - 2025-09-12 diff --git a/src/frontend/apps/impress/src/features/docs/doc-editor/styles.tsx b/src/frontend/apps/impress/src/features/docs/doc-editor/styles.tsx index 786e9a0d36..8343e64f1d 100644 --- a/src/frontend/apps/impress/src/features/docs/doc-editor/styles.tsx +++ b/src/frontend/apps/impress/src/features/docs/doc-editor/styles.tsx @@ -16,6 +16,19 @@ export const cssEditor = (readonly: boolean) => css` font-weight: 400; } + .bn-block-content[data-is-empty-and-focused][data-content-type='paragraph'] + .bn-inline-content:has(> .ProseMirror-trailingBreak:only-child)::before { + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden; + width: inherit; + height: inherit; + } + .bn-block-content[data-is-empty-and-focused][data-content-type='paragraph'] + .bn-inline-content:has(> .ProseMirror-trailingBreak:only-child) { + position: relative; + } + .bn-side-menu .mantine-UnstyledButton-root svg { color: #767676 !important; }