Commit aa5678f5 authored by Moe Ahmadi's avatar Moe Ahmadi Committed by Commit Bot

[NTP][Realbox] Fixes the search icon position in realbox for RTL

For some reason [dir=rtl] :-webkit-any(#realbox-icon, .match-icon) is
less specific than#realbox-icon in RTL preventing the former CSS rule
from applying to the #realbox-icon 

Bug: 1067503
Change-Id: I4b6c86429ca6714b37b40ce5cb745641e0c30830
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2134649
Commit-Queue: Moe Ahmadi <mahmadi@chromium.org>
Auto-Submit: Moe Ahmadi <mahmadi@chromium.org>
Reviewed-by: default avatarTibor Goldschwendt <tiborg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756772}
parent 11154f80
...@@ -225,7 +225,8 @@ body.hide-fakebox #fakebox { ...@@ -225,7 +225,8 @@ body.hide-fakebox #fakebox {
width: 24px; width: 24px;
} }
[dir=rtl] :-webkit-any(#realbox-icon, .match-icon) { [dir=rtl] #realbox-icon,
[dir=rtl] .match-icon {
left: auto; left: auto;
right: 16px; right: 16px;
} }
......
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