style: Fix focused app view controls
Moving from fixed width to horizontal padding for the app view control buttons broke the focus style, in that buttons may change size on keyboard focus changes. Fix this by using the correct horizontal padding when focused. https://bugzilla.gnome.org/show_bug.cgi?id=703807
This commit is contained in:
parent
0ae1f9ffc7
commit
c17f84ca23
@ -327,10 +327,6 @@ StScrollBar StButton#vhandle:active {
|
||||
border-width: 2px;
|
||||
}
|
||||
|
||||
.app-view-control:focus {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.app-view-control:first-child:ltr:focus,
|
||||
.app-view-control:last-child:rtl:focus {
|
||||
border-right-width: 1px;
|
||||
@ -911,6 +907,11 @@ StScrollBar StButton#vhandle:active {
|
||||
padding: 4px 32px;
|
||||
}
|
||||
|
||||
.app-view-control:focus {
|
||||
padding: 3px 31px;
|
||||
}
|
||||
|
||||
|
||||
.search-display > StBoxLayout,
|
||||
.all-apps > StBoxLayout,
|
||||
.frequent-apps > StBoxLayout {
|
||||
|
Loading…
Reference in New Issue
Block a user