summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/resources/ntp4/new_tab.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/resources/ntp4/new_tab.css b/chrome/browser/resources/ntp4/new_tab.css
index 5bd7747..9d621976 100644
--- a/chrome/browser/resources/ntp4/new_tab.css
+++ b/chrome/browser/resources/ntp4/new_tab.css
@@ -380,13 +380,18 @@ html[dir='rtl'] #chrome-web-store-title {
#vertical-separator {
background-color: rgb(178, 178, 178);
- display: inline-block;
+ display: none;
height: 20px;
margin: 0;
vertical-align: middle;
width: 1px;
}
+/* Show the separator only if one of the menus is visible. */
+.footer-menu-button:not(.invisible) ~ #vertical-separator {
+ display: inline-block;
+}
+
/* In trash mode, hide the menus and web store link. */
#footer.showing-trash-mode #chrome-web-store-link,
#footer.showing-trash-mode .menu-container {