-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] HTML Important Issue Font Size #510
Comments
@ThatJoeMoore @kevin-larry-bauer @blakemorgan I assume that Tim is referring to this line: https://github.com/byuweb/byu-theme-components/blob/master/components/byu-theme-components.sass#L33
That is pretty broad to put an Also, I'm afraid if we remove the |
@Gi60s - I helped Tim fix his specific issue. It seems like maybe the font-size was set (with "!important") at that high of a level to set the standard for variable sizes like "width: 4.8rem" set in contained divs later on. I don't ever use variable sizes, though, so I'm not positive that's how it works... However, in Tim's case, changing his width & height styles to pixels fixed the issue. |
Sounds good. Thanks @rburkey87 Are we ok to close this issue? |
@Gi60s - should we leave something similar as an enhancement request? If I'm wrong about the reasoning for the existence of that line of CSS, I'd be interested to find out why it's there and implement a better practice if possible. |
When having !important on the font size it is hard to override it.
Tell us all about your problem or feature proposal.
If the issue is with styling, please include screenshots!
Websites Affected
If this is a bug or styling issue, please list one or more URLs where
we can see the issue.
Issue Type
Is this (add an x in the boxes that apply)
on a page?
Browsers Affected
Add an x in all the boxes that apply. Please mark desktop and mobile
browsers separately.
We support the last two versions of Chrome, Firefox, Safari, and Edge.
Desktop Browsers
Mobile Browsers
Web Site Platform
What is hosting your website?
The text was updated successfully, but these errors were encountered: