fix select width

This commit is contained in:
2025-06-04 19:12:32 +02:00
parent b8a0d25c09
commit c7df0f1603

View File

@@ -262,14 +262,15 @@ export default function Notices() {
</FormControl>
</HStack>
</Box>
<Box className="mb-4 w-full" style={{ flex: 1 }}>
<Box className="mb-4" style={{ flex: 1 }}>
<Select
style={{ width: '100%', flex: 1 }}
style={{ flex: 1 }}
selectedValue={params.category || ''}
onValueChange={handleCategorySelect}
>
<SelectTrigger variant="outline" size="md">
<SelectInput
style={{ flex: 1 }}
placeholder="Wybierz kategorię"
value={selectedCategory ? selectedCategory.label : ""}
/>
@@ -278,7 +279,7 @@ export default function Notices() {
<SelectPortal>
<SelectBackdrop />
<SelectContent
style={{ maxHeight: SCREEN_HEIGHT * 0.6, width: '100%' }}
style={{ maxHeight: SCREEN_HEIGHT * 0.6}}
>
<SelectDragIndicatorWrapper>
<SelectDragIndicator />