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

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

Issue 1910773002: MD History: Fix layout of expanded search box in small windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Aaaand remove it again Created 4 years, 8 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_history/history.html ('k') | 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 85bf23623a378e29a4edd5d56b477dcad078d4ed..27156acf97c427a2f8efcf1789c6f4406ff0409b 100644
--- a/chrome/browser/resources/md_history/history_toolbar.html
+++ b/chrome/browser/resources/md_history/history_toolbar.html
@@ -46,9 +46,12 @@
flex: 1 0 var(--side-bar-width);
}
- #centered-buttons {
- flex: 0 1 var(--card-max-width);
- padding: 0 var(--card-padding-side);
+ #centered-content {
+ /** Padding-start gives space on one side, flex-basis gives space on the
+ other. */
+ -webkit-padding-start: var(--card-padding-side);
+ display: flex;
+ flex: 1 1 calc(var(--card-max-width) + var(--card-padding-side));
}
#right-content {
@@ -98,18 +101,18 @@
<div id="left-content">
<h1 id="title">$i18n{title}</h1>
</div>
- <div id="centered-buttons">
+ <div id="centered-content">
<paper-button on-tap="onClearBrowsingDataTap_"
id="clear-browsing-data-button">
$i18n{clearBrowsingData}
</paper-button>
- </div>
- <div id="right-content">
- <paper-spinner id="searching-spinner" active="[[searching]]">
- </paper-spinner>
- <cr-search-field id="search-input" label="$i18n{search}"
- clear-label="$i18n{clearSearch}">
- </cr-search-field>
+ <div id="right-content">
+ <paper-spinner id="searching-spinner" active="[[searching]]">
+ </paper-spinner>
+ <cr-search-field id="search-input" label="$i18n{search}"
+ clear-label="$i18n{clearSearch}">
+ </cr-search-field>
+ </div>
</div>
</div>
« no previous file with comments | « chrome/browser/resources/md_history/history.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698