theme: Fix off-centered clickable area of dash items
https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088
This commit is contained in:
parent
b0ca52ffdc
commit
ebf6e75b5e
@ -1,13 +1,13 @@
|
|||||||
/* Dash */
|
/* Dash */
|
||||||
|
|
||||||
$dash_placeholder_size: 32px;
|
$dash_placeholder_size: 32px;
|
||||||
|
$dash_spacing: $base_padding + 4px;
|
||||||
$dash_border_radius: $modal_radius * 1.5;
|
$dash_border_radius: $modal_radius * 1.5;
|
||||||
|
|
||||||
#dash {
|
#dash {
|
||||||
@extend %overview_panel;
|
@extend %overview_panel;
|
||||||
@include fontsize($base_font_size - 2);
|
@include fontsize($base_font_size - 2);
|
||||||
padding: 0;
|
padding: ($dash_spacing / 2) 0;
|
||||||
padding-bottom: $base_padding + 4px;
|
|
||||||
|
|
||||||
//fixme: can't have non uniform borders :(
|
//fixme: can't have non uniform borders :(
|
||||||
border-radius: 0 $dash_border_radius $dash_border_radius 0;
|
border-radius: 0 $dash_border_radius $dash_border_radius 0;
|
||||||
@ -32,8 +32,7 @@ $dash_border_radius: $modal_radius * 1.5;
|
|||||||
|
|
||||||
// Dash Items
|
// Dash Items
|
||||||
.dash-item-container > StWidget {
|
.dash-item-container > StWidget {
|
||||||
padding: $base_padding + 4px;
|
padding: ($dash_spacing / 2) $dash_spacing;
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// OSD Tooltip
|
// OSD Tooltip
|
||||||
|
Loading…
Reference in New Issue
Block a user