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

Display Helpers rules overwritten by default styles #270

Open
suamai opened this issue Feb 20, 2022 · 0 comments
Open

Display Helpers rules overwritten by default styles #270

suamai opened this issue Feb 20, 2022 · 0 comments

Comments

@suamai
Copy link

suamai commented Feb 20, 2022

I've been trying to use the display helper classes, but they don't seem to work on most components due to the order in which rules are added to the generated css.

For example, using the class d-md-none on the AppBar component will add the rule display: none when the media query matches, as expected; but the rule appears way too early on the generated css, before the rules applied to the s-app-bar class, so it's overwritten by the default display: block.

image

Edit: Just tested using the SvelteKit template suggested on the documentation ( npx degit TheComputerM/sveltekit-materialify my-project ), with the same results.

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