fix select width
This commit is contained in:
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user