fix: optimize sticky header styles z-index in tools - ProviderList component (#4746)

This commit is contained in:
Charles Zhou 2024-05-28 19:36:11 -05:00 committed by GitHub
parent 9e6b6e7b82
commit 008edd0eeb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -69,7 +69,7 @@ const ProviderList = () => {
<div className='relative flex overflow-hidden bg-gray-100 shrink-0 h-0 grow'>
<div className='relative flex flex-col overflow-y-auto bg-gray-100 grow'>
<div className={cn(
'z-20 sticky top-0 flex justify-between items-center pt-4 px-12 pb-2 leading-[56px] bg-gray-100 flex-wrap gap-y-2',
'sticky top-0 flex justify-between items-center pt-4 px-12 pb-2 leading-[56px] bg-gray-100 z-10 flex-wrap gap-y-2',
currentProvider && 'pr-6',
)}>
<TabSliderNew