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

CSS priority order for responsive goes wrong #493

Open
trandaison opened this issue Oct 7, 2021 · 0 comments
Open

CSS priority order for responsive goes wrong #493

trandaison opened this issue Oct 7, 2021 · 0 comments

Comments

@trandaison
Copy link

Describe the bug
Does anyone meet this issue before? I have a CStack with the width as below:

<c-stack
  my="10"
  mx="6"
  p="6"
  spacing="4"
  bg="white"
  :w="{ base: '100%', md: '28rem' }"
>
  ...
</c-stack>

The result is: the box is always 100% width in any screen width; because the css order is wrong

To Reproduce
Check out this repo from codesandbox:
https://codesandbox.io/s/codesandbox-nuxt-typescript-forked-77352?file=/pages/index.vue:351-494

Expected behavior
The order should be corrected.

Screenshots
Screen Shot 2021-10-07 at 15 44 05

Desktop (please complete the following information):

  • OS: MacOS 11.1
  • Browser: Any browser
  • Version: Latest

Smartphone (please complete the following information):

  • N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant