Skip to content

Commit b5193fa

Browse files
Move padding to child elements and apply only inline padding
1 parent d4c1110 commit b5193fa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/main/src/layouts/_website.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"header"
99
"main"
1010
"footer";
11-
@media (max-width: map.get(
12-
breakpoints.$breakpoints,
13-
"small"
14-
)) {
15-
padding: 1rem;
16-
}
17-
> {
11+
> {
12+
@media (max-width: map.get(
13+
breakpoints.$breakpoints,
14+
"small"
15+
)) {
16+
padding-inline: 1rem;
17+
}
1818
header {
1919
grid-area: header;
2020
}

0 commit comments

Comments
 (0)