mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-06-17 16:57:50 +00:00
inject some css into the QAM to fix overscroll issues
This commit is contained in:
@@ -115,6 +115,25 @@ class PluginLoader extends Logger {
|
|||||||
<DeckyStateContextProvider deckyState={this.deckyState}>
|
<DeckyStateContextProvider deckyState={this.deckyState}>
|
||||||
<FaPlug />
|
<FaPlug />
|
||||||
<TabBadge />
|
<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>
|
</DeckyStateContextProvider>
|
||||||
),
|
),
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user