Skip to content

Commit 51c5c4e

Browse files
committed
✨(frontend) fix overlapping placeholders in multi-column layout
placeholders no longer overlap when adding 2–3 column, text wraps correctly Signed-off-by: Cyril <[email protected]>
1 parent 72f098c commit 51c5c4e

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ and this project adheres to
4343
- 🐛(frontend) fix attachment download filename #1447
4444
- 🐛(frontend) exclude h4-h6 headings from table of contents #1441
4545
- 🔒(frontend) prevent readers from changing callout emoji #1449
46+
- 🐛(frontend) fix overlapping placeholders in multi-column layout #1455
4647
- 🐛(backend) filter invitation with case insensitive email
4748

4849
## [3.7.0] - 2025-09-12

src/frontend/apps/impress/src/features/docs/doc-editor/styles.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ export const cssEditor = (readonly: boolean) => css`
1616
font-weight: 400;
1717
}
1818
19+
.bn-block-content[data-is-empty-and-focused][data-content-type='paragraph']
20+
.bn-inline-content:has(> .ProseMirror-trailingBreak:only-child)::before {
21+
text-overflow: ellipsis;
22+
white-space: nowrap;
23+
overflow: hidden;
24+
width: inherit;
25+
height: inherit;
26+
}
27+
.bn-block-content[data-is-empty-and-focused][data-content-type='paragraph']
28+
.bn-inline-content:has(> .ProseMirror-trailingBreak:only-child) {
29+
position: relative;
30+
}
31+
1932
.bn-side-menu .mantine-UnstyledButton-root svg {
2033
color: #767676 !important;
2134
}

0 commit comments

Comments
 (0)