Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1106)

Unified Diff: ui/webui/resources/cr_elements/cr_search_field/cr_search_field.css

Issue 2227373002: chrome://downloads: Fix a regression by RTL-aware input[type=search]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update cr_search_field.css Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/md_downloads/vulcanized.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/cr_elements/cr_search_field/cr_search_field.css
diff --git a/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.css b/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.css
index 1aa201a6e061c86ccf0887ab62c9a1941cb0dc97..99a616efb739feeb227080e001c1a37b5aac04c2 100644
--- a/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.css
+++ b/ui/webui/resources/cr_elements/cr_search_field/cr_search_field.css
@@ -40,8 +40,11 @@ paper-input-container {
}
#searchTerm input[type='search']::-webkit-search-cancel-button {
- display: block;
- width: 20px;
+ display: none;
+}
+
+#searchTerm input[type='search'] {
+ padding-right: 20px;
}
paper-icon-button {
@@ -73,3 +76,8 @@ paper-icon-button {
left: 0;
right: auto;
}
+
+:host-context([dir='rtl']) #searchTerm input[type='search'] {
+ padding-left: 20px;
+ padding-right: 0;
+}
« no previous file with comments | « chrome/browser/resources/md_downloads/vulcanized.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698