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

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

Issue 2503893003: MD Extensions: Replace toolbar/search field with cr-toolbar (Closed)
Patch Set: Change padding again 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
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 e6c63f19b4532a459f2aa13d779adab61bfb8fef..748e697d44ea06901a4ff6fd4ae16071756ab5a4 100644
--- a/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html
+++ b/ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar.html
@@ -9,6 +9,7 @@
:host {
--cr-toolbar-field-width: 580px;
--cr-toolbar-height: 56px;
+ align-items: center;
color: #fff;
display: flex;
height: var(--cr-toolbar-height);
@@ -44,7 +45,6 @@
}
#centeredContent {
- -webkit-margin-start: var(--cr-toolbar-field-margin, 0);
display: flex;
flex: 1 1 0;
justify-content: center;
@@ -65,6 +65,10 @@
@apply(--cr-toolbar-left-content-wide);
}
+ :host(:not([narrow_])) #centeredContent {
+ -webkit-margin-start: var(--cr-toolbar-field-margin, 0);
+ }
+
:host(:not([narrow_])) #rightContent {
@apply(--cr-toolbar-right-content-wide);
}

Powered by Google App Engine
This is Rietveld 408576698