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

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

Issue 2020963002: MD History: Add responsive layout which hides the sidebar in thin windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split apart patches Created 4 years, 6 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
Index: ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html
diff --git a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html
index 2ff7bfff47b701ae50d58876501cbd0c5c82016a..c5d547dfb7c8f3a2aa69e98feb062a6809913f86 100644
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html
@@ -11,6 +11,14 @@
height: 56px;
}
+ #menuButton {
+ height: 32px;
+ margin: 6px 6px 6px 18px;
dpapad 2016/06/25 01:24:44 This margin does not seem RTL friendly. Should it
tsergeant 2016/06/27 04:57:49 Good point, done.
+ min-width: 32px;
+ padding: 6px;
+ width: 32px;
+ }
+
h1 {
@apply(--layout-flex);
font-size: 123%;
@@ -18,10 +26,8 @@
}
#leftContent {
- -webkit-padding-start: 24px;
align-items: center;
display: flex;
- width: var(--side-bar-width, 0);
}
#centeredContent {
@@ -40,7 +46,8 @@
}
</style>
<div id="leftContent">
- <content select="paper-icon-button"></content>
+ <paper-icon-button id="menuButton" icon="cr:menu" on-tap="onMenuTap_">
dpapad 2016/06/25 01:24:44 Need to add an HTML import for paper-icon-button.
tsergeant 2016/06/27 04:57:49 Done.
+ </paper-icon-button>
<h1>[[pageName]]</h1>
</div>

Powered by Google App Engine
This is Rietveld 408576698