From 2b2a1d9e39addd03c357a1ba08f6241b980a2759 Mon Sep 17 00:00:00 2001
From: AAGaming <aagaming@riseup.net>
Date: Wed, 3 Jul 2024 22:49:42 -0400
Subject: make the qam fix css more accurate

---
 frontend/src/plugin-loader.tsx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'frontend/src/plugin-loader.tsx')

diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx
index d17b9a9a..2edf196d 100644
--- a/frontend/src/plugin-loader.tsx
+++ b/frontend/src/plugin-loader.tsx
@@ -119,13 +119,16 @@ class PluginLoader extends Logger {
             {`
               /* fixes random overscrolling in QAM */
               .${quickAccessMenuClasses?.TabContentColumn} {
-                flex-grow: 1;
+                flex-grow: 1 !important;
                 margin-top: 0 !important;
                 margin-bottom: 0 !important;
+                justify-content: center !important;
               }
               .${quickAccessMenuClasses?.Tab} {
-                flex-grow: 1;
+                flex-grow: 1 !important;
                 height: unset !important;
+                --decky-qam-tab-max-height: 64px; /* make things a little easier for themers */
+                max-height: var(--decky-qam-tab-max-height) !important;
               }
               /* they broke the footer a while ago and forgot to update the styles LOL */
               .${quickAccessMenuClasses?.Tabs}.${quickAccessMenuClasses.TabsWithFooter} {
-- 
cgit v1.2.3

