-
Notifications
You must be signed in to change notification settings - Fork 365
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
fix: [M3-8774 ] - Faux bold in Safari with <strong />
& <b />
tags
#11149
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I can finally have some peace as a Safari user now 😅
Wonder if the CSS fix is best here or if it could/should be addressed in MUI
Coverage Report: ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat! This also fixes the same issue in Firefox.
Wonder if the CSS fix is best here or if it could/should be addressed in MUI
I believe it's in the right spot since they are not MUI components.
Cloud Manager E2E Run #6725
Run Properties:
|
Project |
Cloud Manager E2E
|
Branch Review |
develop
|
Run status |
Passed #6725
|
Run duration | 24m 50s |
Commit |
27a883da2e: fix: [M3-8774 ] - Faux bold in Safari with `` & `` tags (#11149)
|
Committer | Alban Bailly |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
2
|
Skipped |
0
|
Passing |
441
|
View all changes introduced in this branch ↗︎ |
Description 📝
It does appear global CSS isn't picked up in Safari for
<strong>
and<b>
tags, resulting in faux bold. This seems to happen systematically during DOM injectionThe issue seems to stem from the browser having higher specificity over our global CSS declaration. This PR nests our
strong
&b
CSS declaration to increase specificity, which seems to fix the problem overallChanges 🔄
strong
&b
for SafariPreview 📷
How to test 🧪
Verification steps
As an Author I have considered 🤔
Check all that apply