Skip to content

Commit b3bdac1

Browse files
committed
Fix text block margin trimming outside editor
REDMINE-21191
1 parent 5af9710 commit b3bdac1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

entry_types/scrolled/package/src/contentElements/textBlock/TextBlock.module.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
margin: 1.375rem 0 0 0;
1717
}
1818

19-
.text > p:first-child {
19+
.text p:first-child {
2020
margin-top: 0;
2121
}
2222

2323
.text li {
2424
margin: var(--theme-text-block-first-list-item-margin-top, 1.375rem) 0 0 0;
2525
}
2626

27-
.text > ol:first-child > li:first-child,
28-
.text > ul:first-child > li:first-child {
27+
.text ol:first-child > li:first-child,
28+
.text ul:first-child > li:first-child {
2929
margin-top: 0;
3030
}
3131

@@ -68,7 +68,7 @@
6868
overflow: hidden;
6969
}
7070

71-
.text > blockquote:first-child {
71+
.text blockquote:first-child {
7272
margin-top: 0;
7373
}
7474

0 commit comments

Comments
 (0)