Skip to content

Commit 2268fa3

Browse files
committed
Normalize styles with border-box
1 parent de37c6c commit 2268fa3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/styles.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
}
1414

1515
.notion * {
16+
box-sizing: border-box;
1617
margin-block-start: 0px;
1718
margin-block-end: 0px;
1819
}
@@ -235,9 +236,8 @@ img.notion-page-icon-offset {
235236
}
236237

237238
.notion-page-icon {
238-
font-size: 1.1em;
239+
line-height: 1.4;
239240
margin-right: 4px;
240-
margin-top: 1px;
241241
margin-left: 2px;
242242
}
243243
img.notion-page-icon {
@@ -262,7 +262,7 @@ img.notion-page-icon {
262262
font-weight: 500;
263263
line-height: 1.3;
264264
border-bottom: 1px solid rgba(55, 53, 47, 0.16);
265-
margin: 4px 0px;
265+
margin: 1px 0px;
266266
}
267267

268268
.notion-inline-code {

0 commit comments

Comments
 (0)