Skip to content

Commit 8508f81

Browse files
feat: additional heading top padding (BLO-1008) (#2690)
1 parent e9497e3 commit 8508f81

33 files changed

Lines changed: 10 additions & 12 deletions

packages/core/src/editor/Block.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ NESTED BLOCKS
127127

128128
/* HEADINGS*/
129129
[data-content-type="heading"] {
130+
padding-top: 18px;
130131
--level: 3em;
131132
}
132133
[data-content-type="heading"][data-level="2"] {

packages/react/src/editor/styles.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,15 +243,15 @@ inline styles, it is added to the base z-index. */
243243
}
244244

245245
.bn-side-menu[data-block-type="heading"][data-level="1"] {
246-
height: 78px;
246+
height: 108px;
247247
}
248248

249249
.bn-side-menu[data-block-type="heading"][data-level="2"] {
250-
height: 54px;
250+
height: 84px;
251251
}
252252

253253
.bn-side-menu[data-block-type="heading"][data-level="3"] {
254-
height: 37px;
254+
height: 67px;
255255
}
256256

257257
.bn-side-menu[data-block-type="file"] {
0 Bytes
Loading
-3 Bytes
Loading
-10 Bytes
Loading
0 Bytes
Loading
-151 Bytes
Loading
133 Bytes
Loading
0 Bytes
Loading
-285 Bytes
Loading

0 commit comments

Comments
 (0)