mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-25 14:01:29 -05:00
fix(ui-components): improve text readability in Arabic (#52366)
This commit is contained in:
8
tools/ui-components/src/normalize.css
vendored
8
tools/ui-components/src/normalize.css
vendored
@@ -39,6 +39,14 @@ template {
|
||||
}
|
||||
a {
|
||||
background-color: transparent;
|
||||
text-decoration: underline;
|
||||
/* This is required in order to improve text readability in Arabic */
|
||||
text-underline-position: under;
|
||||
}
|
||||
@supports not (text-underline-position: under) {
|
||||
a {
|
||||
text-underline-offset: 1em;
|
||||
}
|
||||
}
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
|
||||
Reference in New Issue
Block a user