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

Unified Diff: chrome/browser/resources/md_history/history_toolbar.html

Issue 1847273002: MD History: Update Search Icon Margins (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/history_toolbar.html
diff --git a/chrome/browser/resources/md_history/history_toolbar.html b/chrome/browser/resources/md_history/history_toolbar.html
index d46ec51f3f86eaccdf24c59fb037ca467f65f45b..a53b80b62f6793a8fc57440149be83dfc77759f8 100644
--- a/chrome/browser/resources/md_history/history_toolbar.html
+++ b/chrome/browser/resources/md_history/history_toolbar.html
@@ -37,6 +37,13 @@
padding-left: 24px;
}
+ #search {
+ -webkit-padding-end: 10px;
+ box-sizing: border-box;
tsergeant 2016/04/04 00:10:34 I don't think that box-sizing, display:flex or jus
lshang 2016/04/05 00:21:52 Done.
+ display: flex;
+ justify-content: flex-end;
+ }
+
#items {
margin: 0 auto;
max-width: var(--card-max-width);
@@ -81,9 +88,11 @@
<div id="toolbar-container">
<div id="main-content" hidden$="[[itemsSelected_]]">
<h1 id="title">$i18n{title}</h1>
- <cr-search-field id="search-input" label="$i18n{search}"
- clear-label="$i18n{clearSearch}">
- </cr-search-field>
+ <div id="search">
+ <cr-search-field id="search-input" label="$i18n{search}"
+ clear-label="$i18n{clearSearch}">
+ </cr-search-field>
+ </div>
</div>
<div id="items" hidden$="[[!itemsSelected_]]">
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698