This commit is contained in:
2025-11-02 20:50:49 -07:00
parent 3c05196dda
commit 2d764448af
12 changed files with 58 additions and 16 deletions

View File

@@ -18,7 +18,7 @@
}
.nav-links {
@apply flex flex-col p-4 space-y-1;
@apply flex flex-col p-4 space-y-1 overflow-y-auto overflow-x-hidden;
}
.link {

View File

@@ -20,6 +20,7 @@ import { usePathname, useSearchParams } from 'next/navigation'
export default function Sidebar () {
const {
normalConfig,
getListOfGames,
setShowPopup,
setPopupMode,
@@ -88,7 +89,11 @@ export default function Sidebar () {
? 'active'
: ''
} ml-auto w-50 ${
pathname === '/' || pathname === '/game' ? '' : 'hidden'
normalConfig?.settings.alwaysShowGamesInSidebar ||
pathname === '/' ||
pathname === '/game'
? ''
: 'hidden'
}`}
>
<FontAwesomeIcon icon={faGamepad} className='mr-1' />{' '}