File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
src/app/conf/2025/components Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -444,15 +444,17 @@ function TabButton({
444
444
"gql-focus-visible flex items-center justify-between px-3 py-4 typography-body-lg hover:bg-sec-light focus:outline-none max-md:border-b max-md:border-sec-dark max-md:first:border-t md:[--collapsible:1] md:aria-selected:bg-sec-light" ,
445
445
className ,
446
446
) }
447
- onFocus = { event => {
448
- console . log ( "focus" )
447
+ onFocus = { ( ) => {
448
+ setActiveTab ( tab )
449
+ } }
450
+ onPointerDown = { ( ) => {
449
451
setActiveTab ( tab )
450
452
} }
451
453
onKeyDown = { arrowsMoveSideways }
452
454
{ ...props }
453
455
>
454
456
{ tab . charAt ( 0 ) . toUpperCase ( ) + tab . slice ( 1 ) }
455
- < ArrowDownIcon className = "ml-2 size-6 text-sec-darker opacity-0 [[aria-selected=true]>&]:opacity-100 " />
457
+ < ArrowDownIcon className = "ml-2 size-6 text-transparent max-md:[[aria-selected=false]>&]:rotate-180 max-md:[[aria-selected=false]>&]:text-sec-dark [[aria-selected=true]>&]:text-sec-darker " />
456
458
</ button >
457
459
)
458
460
}
You can’t perform that action at this time.
0 commit comments