TheComputerM / svelte-materialify

A Material UI Design Component library for Svelte heavily inspired by vuetify.

Home Page:https://svelte-materialify.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Display Helpers rules overwritten by default styles

suamai opened this issue · comments

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.