i18n: Make close icon direction aware

Currently it always shows the icon for LTR no matter direction
of the user's language and this fixes it.

Bug: T315464
Change-Id: Ice6902a0823047380655b825aca9fbce14920d7d
This commit is contained in:
Ebrahim Byagowi
2024-06-27 23:50:59 +03:30
committed by jenkins-bot
parent 40527aef12
commit 60b6e52ad2
3 changed files with 7 additions and 1 deletions

View File

@@ -14,7 +14,9 @@
.uls-language-actions-close {
min-width: unset;
width: 44px;
background: transparent url( ../images/arrow-previous.svg ) no-repeat center;
// Note that CSSJanus is flipping the `ltr` in the URL to `rtl`.
// Therefore make sure that both icons are available and up-to-date.
background: transparent url( ../images/arrow-previous-ltr.svg ) no-repeat center;
}
}