summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/resources')
-rw-r--r--chrome/browser/resources/md_downloads/toolbar.css4
-rw-r--r--chrome/browser/resources/md_downloads/toolbar.js1
2 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/resources/md_downloads/toolbar.css b/chrome/browser/resources/md_downloads/toolbar.css
index 63e7037..c11a7d5 100644
--- a/chrome/browser/resources/md_downloads/toolbar.css
+++ b/chrome/browser/resources/md_downloads/toolbar.css
@@ -32,6 +32,10 @@
width: var(--downloads-item-width);
}
+:host(:not([downloads-showing])) #actions {
+ justify-content: center;
+}
+
#actions cr-button {
-webkit-margin-end: 8px;
}
diff --git a/chrome/browser/resources/md_downloads/toolbar.js b/chrome/browser/resources/md_downloads/toolbar.js
index 86a22de..16942ba 100644
--- a/chrome/browser/resources/md_downloads/toolbar.js
+++ b/chrome/browser/resources/md_downloads/toolbar.js
@@ -14,6 +14,7 @@ cr.define('downloads', function() {
properties: {
downloadsShowing: {
+ reflectToAttribute: true,
type: Boolean,
value: false,
observer: 'onDownloadsShowingChange_',