mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-02 14:52:36 -08:00
Fix shadow clip of the tracker on the group toolbox
This commit is contained in:
1 parent
927776a495
commit
75317ebfa4
1 file changed
+11
-6
@@ -270,12 +270,17 @@ export function TrackerConnectionGroupSection({
|
||||
'border-background-40': variant === 'secondary',
|
||||
})}
|
||||
/>
|
||||
<div
|
||||
className={classNames('sticky -right-0 flex items-center px-2', {
|
||||
'bg-background-70': variant === 'primary',
|
||||
'bg-background-60': variant === 'secondary',
|
||||
})}
|
||||
>
|
||||
<div className="sticky -right-0 z-10 flex items-center px-2">
|
||||
<div
|
||||
className={classNames(
|
||||
'absolute inset-0 -z-10',
|
||||
'[mask-image:linear-gradient(to_bottom,transparent,black_25%,black_75%,transparent)]',
|
||||
{
|
||||
'bg-background-70': variant === 'primary',
|
||||
'bg-background-60': variant === 'secondary',
|
||||
}
|
||||
)}
|
||||
/>
|
||||
{toolbox ?? <TrackerConnectionGroupDefaultToolbox group={group} />}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user