Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,9 @@ export const Panel = GObject.registerClass(
if (this._showDesktopButton) return

this._showDesktopButton = new St.Bin({
style_class: 'showdesktop-button',
style_class: this.geom.vertical
? 'showdesktop-button-vertical'
: 'showdesktop-button',
reactive: true,
can_focus: true,
// x_fill: true,
Expand Down
20 changes: 20 additions & 0 deletions src/stylesheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@
border-radius: 0 4px 4px 0 !important;
}

#uiGroup.br4 .dashtopanelPanel.dock .showdesktop-button-vertical {
border-radius: 0 0 4px 4px !important;
}

#uiGroup.br8 .dashtopanelPanel.dock,
#uiGroup.br8 .dashtopanelPanel.dock .dashtopanelMainPanel,
#uiGroup.br8 .show-apps,
Expand All @@ -202,6 +206,10 @@
border-radius: 0 8px 8px 0 !important;
}

#uiGroup.br8 .dashtopanelPanel.dock .showdesktop-button-vertical {
border-radius: 0 0 8px 8px !important;
}

#uiGroup.br12 .dashtopanelPanel.dock,
#uiGroup.br12 .dashtopanelPanel.dock .dashtopanelMainPanel,
#uiGroup.br12 .show-apps,
Expand All @@ -218,6 +226,10 @@
border-radius: 0 12px 12px 0 !important;
}

#uiGroup.br12 .dashtopanelPanel.dock .showdesktop-button-vertical {
border-radius: 0 0 12px 12px !important;
}

#uiGroup.br16 .dashtopanelPanel.dock,
#uiGroup.br16 .dashtopanelPanel.dock .dashtopanelMainPanel,
#uiGroup.br16 .show-apps,
Expand All @@ -234,6 +246,10 @@
border-radius: 0 16px 16px 0 !important;
}

#uiGroup.br16 .dashtopanelPanel.dock .showdesktop-button-vertical {
border-radius: 0 0 16px 16px !important;
}

#uiGroup.br20 .dashtopanelPanel.dock,
#uiGroup.br20 .dashtopanelPanel.dock .dashtopanelMainPanel,
#uiGroup.br20 .show-apps,
Expand All @@ -249,3 +265,7 @@
#uiGroup.br20 .dashtopanelPanel.dock .showdesktop-button {
border-radius: 0 20px 20px 0 !important;
}

#uiGroup.br20 .dashtopanelPanel.dock .showdesktop-button-vertical {
border-radius: 0 0 20px 20px !important;
}