inject some css into the QAM to fix overscroll issues

This commit is contained in:
AAGaming
2024-07-03 22:38:36 -04:00
parent f5eba51c52
commit 86df2e0fd9
+19
View File
@@ -115,6 +115,25 @@ class PluginLoader extends Logger {
<DeckyStateContextProvider deckyState={this.deckyState}>
<FaPlug />
<TabBadge />
<style>
{`
/* fixes random overscrolling in QAM */
.${quickAccessMenuClasses?.TabContentColumn} {
flex-grow: 1;
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.${quickAccessMenuClasses?.Tab} {
flex-grow: 1;
height: unset !important;
}
/* they broke the footer a while ago and forgot to update the styles LOL */
.${quickAccessMenuClasses?.Tabs}.${quickAccessMenuClasses.TabsWithFooter} {
margin-bottom: 0 !important;
padding-bottom: 0 !important;
}
`}
</style>
</DeckyStateContextProvider>
),
});