From 9194d9417f85799718740dde5c1bd310e73c69dc Mon Sep 17 00:00:00 2001 From: isaacclad Date: Mon, 29 Jun 2026 17:44:36 +0000 Subject: [PATCH] Cap launcher dropdown at 15 visible apps (5 rows). Co-authored-by: Cursor --- resources/css/app.css | 4 ++-- resources/views/partials/launcher.blade.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index 289f634..16f9abf 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -69,13 +69,13 @@ } } -/* Ladill app launcher — cap at 6 rows (18 apps), always-visible scroll indicator */ +/* Ladill app launcher — cap at 5 rows (15 apps), always-visible scroll indicator */ .ladill-launcher-apps-wrap { position: relative; } .ladill-launcher-apps { - max-height: calc(6 * 5.25rem + 5 * 0.25rem); + max-height: calc(5 * 5.25rem + 4 * 0.25rem); overflow-y: scroll; overscroll-behavior: contain; scrollbar-gutter: stable; diff --git a/resources/views/partials/launcher.blade.php b/resources/views/partials/launcher.blade.php index b18fdf2..de21e62 100644 --- a/resources/views/partials/launcher.blade.php +++ b/resources/views/partials/launcher.blade.php @@ -10,7 +10,7 @@ config('ladill_launcher.apps', []), fn (array $app) => parse_url($app['url'], PHP_URL_HOST) !== $selfHost )); - $launcherOverflows = count($launcherApps) > 18; + $launcherOverflows = count($launcherApps) > 15; @endphp @if (! empty($launcherApps))