Allow scrolling on languages menu on mobile devices (#19797)

This commit is contained in:
Josh Hawkins 2025-08-27 06:44:10 -05:00 committed by GitHub
parent ad694f5511
commit 667c302a7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -332,7 +332,9 @@ export default function GeneralSettings({ className }: GeneralSettingsProps) {
<Portal> <Portal>
<SubItemContent <SubItemContent
className={ className={
isDesktop ? "" : "w-[92%] rounded-lg md:rounded-2xl" isDesktop
? ""
: "scrollbar-container max-h-[75dvh] w-[92%] overflow-y-scroll rounded-lg md:rounded-2xl"
} }
> >
<span tabIndex={0} className="sr-only" /> <span tabIndex={0} className="sr-only" />