diff options
| author | AAGaming <aagaming@riseup.net> | 2024-07-03 22:38:36 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-07-03 22:38:36 -0400 |
| commit | 86df2e0fd936d3608fb030b5f9e0be23a6232dd7 (patch) | |
| tree | da119540805019f0de107bc62109fedfc656c695 /frontend | |
| parent | f5eba51c523722eeafae6742dcc5faed09b25b2f (diff) | |
| download | decky-loader-86df2e0fd936d3608fb030b5f9e0be23a6232dd7.tar.gz decky-loader-86df2e0fd936d3608fb030b5f9e0be23a6232dd7.zip | |
inject some css into the QAM to fix overscroll issues
Diffstat (limited to 'frontend')
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx index 59d6b5bd..d17b9a9a 100644 --- a/frontend/src/plugin-loader.tsx +++ b/frontend/src/plugin-loader.tsx @@ -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> ), }); |
