Fix filter pill sizing for admin filters
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-02-04 08:55:45 +01:00
parent 93ae23fd0a
commit cffe8e6cd4
4 changed files with 29 additions and 12 deletions

View File

@@ -1397,6 +1397,9 @@ export default function MobileEventControlRoomPage() {
borderColor={border}
paddingVertical="$2"
paddingHorizontal="$3"
width="auto"
minWidth="max-content"
flexShrink={0}
hoverStyle={{ backgroundColor: '$backgroundHover' }}
pressStyle={{ backgroundColor: '$backgroundPress' }}
activeStyle={{ backgroundColor: '$backgroundPress', borderColor: '$borderColorPress' }}
@@ -1569,6 +1572,9 @@ export default function MobileEventControlRoomPage() {
borderColor={border}
paddingVertical="$2"
paddingHorizontal="$3"
width="auto"
minWidth="max-content"
flexShrink={0}
hoverStyle={{ backgroundColor: '$backgroundHover' }}
pressStyle={{ backgroundColor: '$backgroundPress' }}
activeStyle={{ backgroundColor: '$backgroundPress', borderColor: '$borderColorPress' }}

View File

@@ -250,6 +250,9 @@ export default function MobileEventMembersPage() {
borderRadius="$pill"
paddingHorizontal="$3"
paddingVertical="$1.5"
width="auto"
minWidth="max-content"
flexShrink={0}
>
<Text fontSize="$xs" fontWeight="600">
{option.label}
@@ -282,6 +285,9 @@ export default function MobileEventMembersPage() {
borderRadius="$pill"
paddingHorizontal="$3"
paddingVertical="$1.5"
width="auto"
minWidth="max-content"
flexShrink={0}
>
<Text fontSize="$xs" fontWeight="600">
{option.label}

View File

@@ -332,6 +332,9 @@ function EventsList({
borderColor={border}
paddingVertical="$2"
paddingHorizontal="$3"
width="auto"
minWidth="max-content"
flexShrink={0}
hoverStyle={{ backgroundColor: '$backgroundHover' }}
pressStyle={{ backgroundColor: '$backgroundPress' }}
activeStyle={{ backgroundColor: '$backgroundPress', borderColor: '$borderColorPress' }}

View File

@@ -586,6 +586,8 @@ export default function MobileNotificationsPage() {
paddingHorizontal="$3"
flexGrow={1}
justifyContent="center"
width="auto"
minWidth="max-content"
>
<Text fontSize="$xs" fontWeight="600" textAlign="center">
{filter.label}