Skip to content

Commit e6f71aa

Browse files
committed
Use logical properties in CSS reset
1 parent b87a7c4 commit e6f71aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/base/_reset.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ video,
2626
canvas,
2727
svg {
2828
display: block;
29-
max-width: 100%;
29+
max-inline-size: 100%;
3030
}
3131

3232
input,
@@ -124,11 +124,11 @@ sup {
124124
}
125125

126126
sub {
127-
bottom: -0.25em;
127+
inset-block-end: -0.25em;
128128
}
129129

130130
sup {
131-
top: -0.5em;
131+
inset-block-start: -0.5em;
132132
}
133133

134134
a {

0 commit comments

Comments
 (0)