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:
committed by
jenkins-bot
parent
40527aef12
commit
60b6e52ad2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 199 B After Width: | Height: | Size: 199 B |
4
resources/images/arrow-previous-rtl.svg
Normal file
4
resources/images/arrow-previous-rtl.svg
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<path d="M8.59 3.42 14.17 9H2v2h12.17l-5.58 5.59L10 18l8-8-8-8z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 198 B |
Reference in New Issue
Block a user