From 2688feb8f1526cf00eca00d6dfed76eeae6a1807 Mon Sep 17 00:00:00 2001 From: Nariman Jelveh Date: Fri, 7 Aug 2026 20:42:58 -0700 Subject: [PATCH] fix(gui): size folder icon ghosts to the icon they stand on Border-box only reaches a folder's icon through `.dashboard * { box-sizing }`, and every ghost cloned from one is appended to , outside that rule: the drag ghost, the click-time launch flourish, and the open/minimize morph ghosts all fall back to content-box, where .myapps-group-icon's 5px padding is added to the 56px slot. Each ghost rendered 66px square and 5px off, so it visibly popped at exactly the moment it was supposed to sit flush on the real icon. State box-sizing on the rule itself so a clone carries it wherever it lands. --- src/gui/src/css/dashboard.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/src/css/dashboard.css b/src/gui/src/css/dashboard.css index 217c60b5b..7e5fcee51 100644 --- a/src/gui/src/css/dashboard.css +++ b/src/gui/src/css/dashboard.css @@ -1160,6 +1160,11 @@ input.myapps-search:disabled { /* Overrides .myapps-tile-icon's centring flexbox: the mini-grid fills the slot rather than sitting in the middle of it. */ display: block; + /* Stated rather than left to `.dashboard *`: the drag ghost and the launch + / minimize morph ghosts are CLONES of this box parked on , outside + that rule, where the padding below would be added to the 56px slot and + land a 66px ghost over the 56px icon it is meant to sit on. */ + box-sizing: border-box; padding: 5px; border-radius: 14px; background: var(--dashboard-folder-surface);