Skip to content

Commit

Permalink
Update _shared.scss
Browse files Browse the repository at this point in the history
  • Loading branch information
Dakotys authored May 2, 2024
1 parent 5efbe20 commit c377bf1
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions labs/navigationdrawer/internal/_shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,15 @@

@mixin styles() {
.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, .md3-navigation-drawer--opened {
inline-size: var(--_container-width);
}

.md3-navigation-drawer-modal__slot-content, .md3-navigation-drawer__slot-content {
min-inline-size: var(--_container-width);
max-inline-size: var(--_container-width);
}
background-color: var(--_container-color);
border-radius: var(--_container-shape);
height: var(--_container-height);
}
.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 .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 c377bf1

Please sign in to comment.