Skip to content

Commit

Permalink
fix(VSnackbar): properly assign width on mobile devices
Browse files Browse the repository at this point in the history
fixes #8224
  • Loading branch information
johnleider committed Jul 31, 2019
1 parent 361658e commit c54ccbe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/vuetify/src/components/VSnackbar/VSnackbar.sass
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@
border-radius: 4px
display: flex
margin: 0 auto
max-width: 672px
min-width: 344px
pointer-events: auto
transition: inherit
transition-property: opacity, transform
min-width: 100%
+elevation(6)

&__content
Expand Down Expand Up @@ -89,6 +88,9 @@
@media #{map-get($display-breakpoints, 'sm-and-up')}
.v-snack
&__wrapper
min-width: 344px
max-width: 672px

.v-snack--left &
margin-left: 0

Expand Down

0 comments on commit c54ccbe

Please sign in to comment.