fix: dashboard overflow-hidden clipping focus rings on selects

This commit is contained in:
Brad Groux 2026-01-29 06:56:11 -06:00
parent 5f166cf0cf
commit 5830fd3b7e

View file

@ -30,10 +30,10 @@ export function DashboardSection() {
) {
return;
}
if (e.key === 'd' || e.key === 'D') {
e.preventDefault();
setExpanded(prev => !prev);
setExpanded((prev) => !prev);
}
};
@ -65,8 +65,8 @@ export function DashboardSection() {
{/* Dashboard Content */}
<div
className={cn(
'overflow-hidden transition-all duration-300 ease-in-out',
expanded ? 'max-h-[5000px] opacity-100 mt-4' : 'max-h-0 opacity-0'
'transition-all duration-300 ease-in-out',
expanded ? 'max-h-[5000px] opacity-100 mt-4' : 'max-h-0 opacity-0 overflow-hidden'
)}
>
{expanded && <Dashboard />}