Skip to content

Commit

Permalink
chore(Drawer): use none instead of auto for min and max width (#4412
Browse files Browse the repository at this point in the history
)

I don't think this has any effect, as `auto` was a non-valid value. Here
are the
[docs](https://developer.mozilla.org/en-US/docs/Web/CSS/min-width).
  • Loading branch information
tujoworker authored Dec 17, 2024
1 parent 27f2106 commit 9cbe7e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1014,8 +1014,8 @@ html[data-visual-test] .dnb-modal__overlay, .dnb-modal__overlay--no-animation {
@media screen and (max-width: 40em) {
.dnb-drawer {
width: 100vw;
min-width: auto;
max-width: auto;
min-width: none;
max-width: none;
}
}
@media screen and (max-width: 40em) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@

@include allBelow(small) {
width: 100vw;
min-width: auto;
max-width: auto;
min-width: none;
max-width: none;
}

@include defaultDropShadow();
Expand Down

0 comments on commit 9cbe7e8

Please sign in to comment.