Refine control room filter pill styling
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-20 16:43:03 +01:00
parent 52c2aa0e9b
commit 0b1430e64d

View File

@@ -1401,6 +1401,7 @@ export default function MobileEventControlRoomPage() {
borderWidth={1}
borderColor={border}
backgroundColor={surfaceMuted}
overflow="hidden"
>
<ToggleGroup
type="single"
@@ -1415,15 +1416,14 @@ export default function MobileEventControlRoomPage() {
<ToggleGroup.Item
key={option.value}
value={option.value}
unstyled
borderRadius={999}
borderWidth={1}
borderColor="transparent"
backgroundColor={active ? activeFilterBg : 'transparent'}
paddingVertical="$1.5"
paddingHorizontal="$3"
{...(active
? ({ style: { boxShadow: `0 8px 18px ${withAlpha(primary, 0.35)}` } } as any)
: {})}
pressStyle={{ opacity: 0.85 }}
>
<XStack alignItems="center" space="$1.5">
<Text fontSize="$xs" fontWeight="700" color={active ? '#fff' : muted}>
@@ -1584,6 +1584,7 @@ export default function MobileEventControlRoomPage() {
borderWidth={1}
borderColor={border}
backgroundColor={surfaceMuted}
overflow="hidden"
>
<ToggleGroup
type="single"
@@ -1598,15 +1599,14 @@ export default function MobileEventControlRoomPage() {
<ToggleGroup.Item
key={option.value}
value={option.value}
unstyled
borderRadius={999}
borderWidth={1}
borderColor="transparent"
backgroundColor={active ? activeFilterBg : 'transparent'}
paddingVertical="$1.5"
paddingHorizontal="$3"
{...(active
? ({ style: { boxShadow: `0 8px 18px ${withAlpha(primary, 0.35)}` } } as any)
: {})}
pressStyle={{ opacity: 0.85 }}
>
<XStack alignItems="center" space="$1.5">
<Text fontSize="$xs" fontWeight="700" color={active ? '#fff' : muted}>