Skip to content

Commit

Permalink
fix(vuetify): changed styles to use the breakpoint mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
nmsmith22389 committed Oct 29, 2018
1 parent e108ade commit 6b14be5
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion components/_bottom-sheets.scss
Expand Up @@ -14,7 +14,7 @@
max-width: 70%;
min-width: 0;

@media #{map-get($display-breakpoints, xs-only)} {
@include breakpoint(xs-only) {
max-width: none;
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/_grid.scss
Expand Up @@ -12,7 +12,7 @@
}
}

@media #{map-get($display-breakpoints, sm-and-down)} {
@include breakpoint(sm-and-down) {
padding: map-get($grid-gutters, lg);
}

Expand Down
2 changes: 1 addition & 1 deletion components/_snackbars.scss
Expand Up @@ -93,7 +93,7 @@
}
}

@media #{map-get($display-breakpoints, sm-and-up)} {
@include breakpoint(sm-and-up) {
.v-snack {
&__wrapper {
border-radius: rem(2px);
Expand Down
2 changes: 1 addition & 1 deletion components/_steppers.scss
Expand Up @@ -277,7 +277,7 @@
}
}

@media #{map-get($display-breakpoints, sm-and-down)} {
@include breakpoint(sm-and-down) {
.v-stepper:not(.v-stepper--vertical) {
.v-stepper__label {
display: none;
Expand Down
6 changes: 3 additions & 3 deletions components/_tabs.scss
Expand Up @@ -61,7 +61,7 @@
.v-tabs__container--align-with-title {
padding-left: rem(16px);

@media #{map-get($display-breakpoints, xs-only)} {
@include breakpoint(xs-only) {
padding-left: rem(24px);
}
}
Expand Down Expand Up @@ -111,15 +111,15 @@
.v-tabs__div {
min-width: rem(72px);

@media #{map-get($display-breakpoints, sm-and-up)} {
@include breakpoint(sm-and-up) {
min-width: rem(160px);
}
}
}

&--fixed-tabs {
.v-tabs__div {
@media #{map-get($display-breakpoints, xs-only)} {
@include breakpoint(xs-only) {
flex: 1 0 auto;
}
}
Expand Down
12 changes: 6 additions & 6 deletions components/_toolbar.scss
Expand Up @@ -75,6 +75,10 @@
display: flex;
padding: 0 map-get($grid-gutters, xl);

@include breakpoint(sm-and-down) {
padding: 0 map-get($grid-gutters, lg);
}

.v-btn--icon {
margin: rem(6px);
}
Expand All @@ -95,22 +99,18 @@
> .v-list:first-child {
margin-left: -#{map-get($grid-gutters, xl)};

@media #{map-get($display-breakpoints, sm-and-down)} {
@include breakpoint(sm-and-down) {
margin-left: -#{map-get($grid-gutters, lg)};
}
}

> .v-list:last-child {
margin-right: -#{map-get($grid-gutters, xl)};

@media #{map-get($display-breakpoints, sm-and-down)} {
@include breakpoint(sm-and-down) {
margin-right: -#{map-get($grid-gutters, lg)};
}
}

@media #{map-get($display-breakpoints, sm-and-down)} {
padding: 0 map-get($grid-gutters, lg);
}
}

&__extension {
Expand Down
12 changes: 6 additions & 6 deletions components/_tooltips.scss
Expand Up @@ -3,6 +3,12 @@
.v-tooltip {
position: relative;

@include breakpoint(sm-and-down) {
.v-tooltip__content {
padding: rem(10px 16px);
}
}

&__content {
@include elevation(2);
background: map-get($grey, darken-2);
Expand All @@ -20,10 +26,4 @@
pointer-events: none;
}
}

@media #{map-get($display-breakpoints, sm-and-down)} {
.v-tooltip__content {
padding: rem(10px 16px);
}
}
}

0 comments on commit 6b14be5

Please sign in to comment.