fix(ui-components): improve text readability in Arabic (#52366)

This commit is contained in:
Huyen Nguyen
2023-11-21 19:40:54 +07:00
committed by GitHub
parent 55dcecdb4e
commit 36d9b8b92f
2 changed files with 9 additions and 0 deletions

View File

@@ -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;