From 884af3c986747ed34ef78e66b198bf59fbe60ae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 8 Mar 2013 23:58:28 +0100 Subject: [PATCH] style: Prevent dash from overlapping content In order to center the view selector, the dash has been moved to a separate layer, which means that it will overlap the app picker and search results if the available width is smaller than the maximum width that the content will request. Fix this by adding enough horizontal padding to account for the width the dash will have at its largest icon size. https://bugzilla.gnome.org/show_bug.cgi?id=695471 --- data/theme/gnome-shell.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 0ff970998..1c025ed76 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -887,8 +887,8 @@ StScrollBar StButton#vhandle:active { .search-display > StBoxLayout, .all-apps > StBoxLayout, .frequent-apps > StBoxLayout { - /* horizontal padding to make sure the scrollbar doesn't overlap content */ - padding: 0px 18px; + /* horizontal padding to make sure scrollbars or dash don't overlap content */ + padding: 0px 88px; } .app-folder-icon {