window-list: Adjust to workspace-indicator changes
Keep the `.panel-button` class to get the expected hover/focus/active styling when using a regular menu button, but remove the horizontal padding when using previews for fittsability. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/405>
This commit is contained in:
@@ -1472,12 +1472,6 @@ class BottomWorkspaceIndicator extends WorkspaceIndicator {
|
||||
GObject.registerClass(this);
|
||||
}
|
||||
|
||||
constructor(params) {
|
||||
super(params);
|
||||
|
||||
this.remove_style_class_name('panel-button');
|
||||
}
|
||||
|
||||
setMenu(menu) {
|
||||
super.setMenu(menu);
|
||||
|
||||
|
||||
@@ -6,6 +6,11 @@
|
||||
*/
|
||||
@import url("stylesheet-workspace-switcher-dark.css");
|
||||
|
||||
.window-list-workspace-indicator.previews {
|
||||
-natural-hpadding: 0 !important;
|
||||
-minimum-hpadding: 0 !important;
|
||||
}
|
||||
|
||||
.window-list {
|
||||
spacing: 2px;
|
||||
font-size: 10pt;
|
||||
|
||||
Reference in New Issue
Block a user