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); |
} |