CSS - Mudblazor makes it difficult #11846
Unanswered
JerryLan01
asked this question in
Q&A
Replies: 0 comments
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 would like suggestions on how others deal with this situation. I consider myself very knowledgeable in CSS.
With Mudblazor, however everything CSS goes out the window. Many Mudblazor tags, in my experience tend to ignore your specified classes until you specifically override internal classes. Why do this? Well because for instance the MudGrid defaults to a 24px (px not rem) padding, leaving a very ugly unused space. My architect is constantly and understandably upset about this. As a team we each approach CSS with Mudblazor differently. One developer places his classes in a STYLE section on each page. I tend to fumble with classes not being recognized until I put them in a stylesheet called "overrides.css" which is accessed at the end of the list of all CSS files.
All of this is, in fact, in danger of being completely broken by the next version.
Beta Was this translation helpful? Give feedback.
All reactions