make the qam fix css more accurate

This commit is contained in:
AAGaming
2024-07-03 22:49:42 -04:00
parent 86df2e0fd9
commit 2b2a1d9e39
+5 -2
View File
@@ -119,13 +119,16 @@ class PluginLoader extends Logger {
{` {`
/* fixes random overscrolling in QAM */ /* fixes random overscrolling in QAM */
.${quickAccessMenuClasses?.TabContentColumn} { .${quickAccessMenuClasses?.TabContentColumn} {
flex-grow: 1; flex-grow: 1 !important;
margin-top: 0 !important; margin-top: 0 !important;
margin-bottom: 0 !important; margin-bottom: 0 !important;
justify-content: center !important;
} }
.${quickAccessMenuClasses?.Tab} { .${quickAccessMenuClasses?.Tab} {
flex-grow: 1; flex-grow: 1 !important;
height: unset !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 */ /* they broke the footer a while ago and forgot to update the styles LOL */
.${quickAccessMenuClasses?.Tabs}.${quickAccessMenuClasses.TabsWithFooter} { .${quickAccessMenuClasses?.Tabs}.${quickAccessMenuClasses.TabsWithFooter} {