Commit e68ff116 authored by Esmael El-Moslimany's avatar Esmael El-Moslimany Committed by Commit Bot

Settings WebUI: force search icon in settings search to be LTR

Fixed: 1057032
Change-Id: I594e390ec47d17fed42cb8a374f4d58917addc62
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2079688
Auto-Submit: Esmael Elmoslimany <aee@chromium.org>
Reviewed-by: default avatarTibor Goldschwendt <tiborg@chromium.org>
Commit-Queue: Esmael Elmoslimany <aee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#745576}
parent a9d828aa
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
--cr-icon-button-margin-start: 0; --cr-icon-button-margin-start: 0;
} }
:host-context([dir=rtl]) { :host-context([dir=rtl]):host(:not([dir=ltr])) {
transform: scaleX(-1); /* Invert X: flip on the Y axis (aka mirror). */ transform: scaleX(-1); /* Invert X: flip on the Y axis (aka mirror). */
} }
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
<paper-spinner-lite active="[[isSpinnerShown_]]"> <paper-spinner-lite active="[[isSpinnerShown_]]">
</paper-spinner-lite> </paper-spinner-lite>
</template> </template>
<cr-icon-button id="icon" iron-icon="cr:search" title="[[label]]" <cr-icon-button id="icon" iron-icon="cr:search" title="[[label]]" dir="ltr"
tabindex$="[[computeIconTabIndex_(narrow, hasSearchText)]]" tabindex$="[[computeIconTabIndex_(narrow, hasSearchText)]]"
aria-hidden$="[[computeIconAriaHidden_(narrow, hasSearchText)]]"> aria-hidden$="[[computeIconAriaHidden_(narrow, hasSearchText)]]">
</cr-icon-button> </cr-icon-button>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment