Skip to content

Commit 850ec59

Browse files
committed
[fix] Preventing anything in Page from overflowing it's allowed width
1 parent aad86cb commit 850ec59

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

styles/components/_page.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
position:relative;
33
display:flex;
44

5-
.sidebar { flex:0 0 20%; }
5+
.sidebar {
6+
flex:0 0 20%;
7+
max-width:20%;
8+
}
69

710
&-edit {
811
position:absolute;
@@ -17,6 +20,7 @@
1720

1821
&-content {
1922
flex:0 0 80%;
23+
max-width:80%;
2024
padding:1em;
2125
background:map-get($colors, white);
2226
}

0 commit comments

Comments
 (0)