Open shwethashyam1 opened 2 years ago
I am unable to override the body in semantic UI. It seems to have broken/overriden my entire css stylesheet. I tried adding !important in my main css but it still does not work.
I added the following to style.css:
.body { font-family: 'DMSans', sans-serif !important; font-weight: 400 !important; font-style: normal !important; min-height: 100vh !important; scroll-behavior: smooth !important; text-rendering: optimizeSpeed !important; line-height: 1.5 !important; background: #FBFAF9 !important; color: #595454 !important; }
Background color to be of #FBFAF9
Background color is #FFFFFF
"semantic-ui-css": "^2.4.1", "semantic-ui-react": "^2.0.4",
Steps
I am unable to override the body in semantic UI. It seems to have broken/overriden my entire css stylesheet. I tried adding !important in my main css but it still does not work.
I added the following to style.css:
Expected Result
Background color to be of #FBFAF9
Actual Result
Background color is #FFFFFF
Version