Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant