Refine control room filter pill styling
This commit is contained in:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user