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