Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] Override Vuetify 2 SASS variables of grid, is working but the order of output classes is wrong #120

Closed
mort3za opened this issue Mar 18, 2020 · 1 comment

Comments

@mort3za
Copy link

mort3za commented Mar 18, 2020

Environment

Browsers: Chromium 80.0.3987.87
OS: Ubuntu undefined

Steps to reproduce

  1. create a vue project with sass support (dart-sass)
  2. add vuetify by cli (vue add vuetify) and choose default option
  3. add variables.scss to src/styles/variables.scss:
$grid-breakpoints: (
  'xxs': 0,
  'xs': 375,
  'sm': 600px,
  'md': 960px,
  'lg': 1280px - 16px,
  'xl': 1920px - 16px,
  'xxl': 2560px - 16px
);
  1. add this template somewhere and inspect it by devtools:
    <v-row>
      <v-col cols="12" md="4">1</v-col>
      <v-col cols="12" md="4">1</v-col>
      <v-col cols="12" md="4">1</v-col>
    </v-row>

Expected Behavior

CSS specificity of .col-12 should be less than col-md-4

Actual Behavior

CSS specificity of .col-12 is higher than col-md-4, so col-md-4 never applies.

image

Reproduction Link

Other comments

vuetify version: 2.2.17
sass version: 1.25.0
vuetify-loader version: 1.4.3

Github source for sample project: https://github.com/mort3za/temp-vuetify

@KaelWD
Copy link
Member

KaelWD commented Sep 11, 2020

Duplicate of vuetifyjs/vuetify#7933

@KaelWD KaelWD marked this as a duplicate of vuetifyjs/vuetify#7933 Sep 11, 2020
@KaelWD KaelWD closed this as completed Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants