From eeeca0cfa95cb46616a26485de0a2ebc61ac5464 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Mon, 29 Jun 2026 17:44:31 +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 e64c50b..a5dbfe6 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -199,13 +199,13 @@ html.qr-mobile-page body { } } -/* 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))