Skip to content

Commit

Permalink
Merge pull request #5606 from Dakotys:main
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 630217008
  • Loading branch information
copybara-github committed May 2, 2024
2 parents 2b02497 + c377bf1 commit e77ce06
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions labs/navigationdrawer/internal/_shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,21 @@
// go/keep-sorted end

@mixin styles() {
.md3-navigation-drawer-modal {
.md3-navigation-drawer-modal,
.md3-navigation-drawer {
background-color: var(--_container-color);
border-radius: var(--_container-shape);
height: var(--_container-height);
}

&.md3-navigation-drawer-modal--opened {
inline-size: var(--_container-width);
}
.md3-navigation-drawer-modal.md3-navigation-drawer-modal--opened,
.md3-navigation-drawer.md3-navigation-drawer--opened {
inline-size: var(--_container-width);
}

.md3-navigation-drawer-modal__slot-content {
min-inline-size: var(--_container-width);
max-inline-size: var(--_container-width);
}
.md3-navigation-drawer-modal .md3-navigation-drawer-modal__slot-content,
.md3-navigation-drawer .md3-navigation-drawer__slot-content {
min-inline-size: var(--_container-width);
max-inline-size: var(--_container-width);
}
}

0 comments on commit e77ce06

Please sign in to comment.