[gnome-shell] style: Prevent dash from overlapping content



commit 884af3c986747ed34ef78e66b198bf59fbe60ae1
Author: Florian MĂźllner <fmuellner gnome org>
Date:   Fri Mar 8 23:58:28 2013 +0100

    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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 0ff9709..1c025ed 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 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]