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

Unified Diff: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html

Issue 2520623004: MD WebUI: Fix minor rendering problems in <cr-toolbar> (Closed)
Patch Set: Created 4 years, 1 month 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_history/app.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_toolbar/cr_toolbar_search_field.html
diff --git a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
index 01b263f99c192aa290ddf629462542ffe6c3bd91..c6d0ea2a29ffa82b2858e94b805e50597dc1c8bd 100644
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field.html
@@ -58,6 +58,7 @@
/* Input field. */
#searchTerm {
+ -webkit-font-smoothing: antialiased;
-webkit-margin-start: 2px;
flex: 1;
line-height: 185%;
@@ -68,9 +69,11 @@
bottom: 0;
cursor: text;
left: 0;
+ overflow: hidden;
position: absolute;
right: 0;
top: 0;
+ white-space: nowrap;
}
:host([has-search-text_]) label {
@@ -82,9 +85,10 @@
background: transparent;
border: none;
color: white;
- font-family: inherit;
+ font: inherit;
outline: none;
padding: 0;
+ position: relative;
width: 100%;
}
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698