Skip to content

Commit 51b469c

Browse files
🏋
1 parent 7a8179f commit 51b469c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/react-notion-x/src/styles.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@
111111
--notion-gray_background_co: rgba(69, 75, 78, 0.3);
112112
}
113113

114+
.notion * {
115+
box-sizing: border-box;
116+
}
117+
114118
.notion {
115119
font-size: 16px;
116120
line-height: 1.5;
@@ -641,12 +645,14 @@ svg.notion-page-icon {
641645
}
642646

643647
.notion-page {
648+
box-sizing: border-box;
644649
width: var(--notion-max-width);
645650
padding-left: calc(min(16px, 8vw));
646651
padding-right: calc(min(16px, 8vw));
647652
}
648653

649654
.notion-full-width {
655+
box-sizing: border-box;
650656
--notion-max-width: calc(min(1920px, 98vw));
651657
padding-left: calc(min(96px, 8vw));
652658
padding-right: calc(min(96px, 8vw));

0 commit comments

Comments
 (0)