applets/kickoff: Tie sidebar item spacing to the compact list style

BUG: 524003
This commit is contained in:
Niccolò Venerandi 2026-10-21 16:50:55 +02:00
parent 6bb1998379
commit 761476d81b

View file

@ -140,9 +140,9 @@ EmptyPage {
width: view.availableWidth
}
// Without switch-on-hover, it's possible for the selected category and the hovered category to be adjacent.
// When this happens, their highlights touch and look ugly without some artificial spacing added.
spacing: root.isSidebar && !Plasmoid.configuration.switchCategoryOnHover ? Kirigami.Units.smallSpacing : 0
// The selected category and the hovered category can be adjacent, and their highlights touch and
// look ugly without some artificial spacing added. The compact style trades this off for density.
spacing: root.isSidebar && !Plasmoid.configuration.compactMode ? Kirigami.Units.smallSpacing : 0
section {
property: "group"