An open-source, self-hosted system for apps built with web technologies.
Refine Start menu program items
zohayrslilehdb6087201c83
diff --git a/source/client/view/appearance/appearance.css b/source/client/view/appearance/appearance.cssindex 713fe60..cd23acb 100644--- a/source/client/view/appearance/appearance.css+++ b/source/client/view/appearance/appearance.css@@ -96,8 +96,6 @@ html[data-phreshos-theme-transition]::view-transition-new(root) {--shadow-taskbar-separator: 1px 0 0 rgba(30, 64, 100, 0.12);- --shadow-launcher-icon: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 14px -8px rgba(12, 46, 88, 0.55);---shadow-window-controls: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(12, 46, 88, 0.15);--shadow-window-content: inset 0 0 0 1px rgba(255, 255, 255, 0.45);diff --git a/source/client/view/structure/desktop/taskbar/launcher/programs/launcher-item.tsx b/source/client/view/structure/desktop/taskbar/launcher/programs/launcher-item.tsxindex f70a736..cfca865 100644--- a/source/client/view/structure/desktop/taskbar/launcher/programs/launcher-item.tsx+++ b/source/client/view/structure/desktop/taskbar/launcher/programs/launcher-item.tsx@@ -9,21 +9,17 @@ export default function ({ icon, label, description, children, className, ...protype="button"- className={`group grid w-full grid-cols-[auto_minmax(0,1fr)] items-center gap-3 rounded-xl px-3 py-2 text-start outline-none active:scale-[0.98] ${className ?? ""}`}+ className={`grid w-full grid-cols-[auto_minmax(0,1fr)] items-center gap-3 rounded-xl px-3 py-2 text-start outline-none active:scale-[0.98] ${className ?? ""}`}>- <span className="grid size-9 place-items-center overflow-hidden rounded-xl border border-white/55 bg-white/25 text-base font-semibold shadow-launcher-icon">-- <img src={icon} alt="" draggable={false} className="size-full object-contain p-1" />-- </span>+ <img src={icon} alt="" draggable={false} className="size-9 object-contain p-1" /><span className="min-w-0"><span className="block truncate text-sm font-medium">{children}</span>- {description && <span className="block truncate text-xs opacity-60">{description}</span>}+ {description && <span className="block max-w-[90%] truncate text-xs opacity-60">{description}</span>}</span>