settings menu sizing is a bit better

This commit is contained in:
Gavin McDonald
2025-07-02 15:31:50 -04:00
parent 2f861dbd38
commit 743177486a

View File

@@ -127,7 +127,16 @@ export default function Settings() {
className={`transition-all duration-250 ${open ? 'pointer-events-auto opacity-100' : 'pointer-events-none opacity-0'}`} className={`transition-all duration-250 ${open ? 'pointer-events-auto opacity-100' : 'pointer-events-none opacity-0'}`}
> >
<div <div
className={`fixed top-4 right-4 flex flex-col items-center justify-evenly bg-slate-800 text-yellow-400 rounded-lg border border-yellow-400 py-3 px-4 transition-all duration-250 ${open ? 'opacity-100 w-[350px] h-[350px]' : 'opacity-0 w-0 h-0'}`} className={`
fixed top-4 right-4
flex flex-col items-center justify-evenly
bg-slate-800 text-yellow-400
rounded-lg border border-yellow-400
py-3 px-4
transition-all duration-250
h-full
${open ? `opacity-100 w-[350px] ${isDM ? 'max-h-[400px]' : 'max-h-[175px]'}` : 'opacity-0 w-0 max-h-0'}
`}
> >
<Links /> <Links />
<Permissions /> <Permissions />