mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-27 02:03:44 -05:00
fix(ui-components): improve text readability in Arabic (#52366)
This commit is contained in:
@@ -156,6 +156,7 @@ p {
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: underline;
|
||||
/* This is required in order to improve text readability in Arabic */
|
||||
text-underline-position: under;
|
||||
}
|
||||
|
||||
|
||||
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