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
This commit is contained in:
Florian Müllner 2013-03-08 23:58:28 +01:00
parent edc95b2cb7
commit 884af3c986

View File

@ -887,8 +887,8 @@ StScrollBar StButton#vhandle:active {
.search-display > StBoxLayout, .search-display > StBoxLayout,
.all-apps > StBoxLayout, .all-apps > StBoxLayout,
.frequent-apps > StBoxLayout { .frequent-apps > StBoxLayout {
/* horizontal padding to make sure the scrollbar doesn't overlap content */ /* horizontal padding to make sure scrollbars or dash don't overlap content */
padding: 0px 18px; padding: 0px 88px;
} }
.app-folder-icon { .app-folder-icon {