Replies: 1 comment 1 reply
-
|
Yeah I think we need to move base to the start. Oversight. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm finding the process for building CSS for addons with Vite really tricky, and there isn't much documentation on the topic or the recommended way Statamic wants us to handle this stuff.
Paddings and margins will be reset by Tailwinds preflight in the
baselayer.We could use
!importantbut all that is doing is pushing the specificity to the top, creating a new layer of important styles (and overwriting Statamic ones)There doesn't seem to be a nice way of doing this without quickly ending up in a specificity war. Shouldn't addon stuff come after the
baselayer?Related:
https://discord.com/channels/489818810157891584/1466098406643470396
Beta Was this translation helpful? Give feedback.
All reactions