appDisplay: Apply the same padding to AllView and FrequentView

We add some horizontal padding to the AllView's content to make
sure content does not end up underneath the scrollbar; while this
is not required in case of the FrequentView which does not have
a scrollbar, applying the same padding ensures that both views
end up with the same spacing, which makes switching between them
less disruptive.

https://bugzilla.gnome.org/show_bug.cgi?id=694261
This commit is contained in:
Florian Müllner 2013-02-21 23:11:22 +01:00
parent 6ea8f35343
commit 62ca4ba624

View File

@ -860,7 +860,8 @@ StScrollBar StButton#vhandle:active {
padding: 4px 16px; padding: 4px 16px;
} }
.all-apps > StBoxLayout { .all-apps > StBoxLayout,
.frequent-apps > StBoxLayout {
/* horizontal padding to make sure the scrollbar doesn't overlap content */ /* horizontal padding to make sure the scrollbar doesn't overlap content */
padding: 0px 18px; padding: 0px 18px;
} }