Skip to content

Commit

Permalink
add flex grow
Browse files Browse the repository at this point in the history
  • Loading branch information
charmingduchess committed Nov 26, 2024
1 parent 7848e09 commit 7918274
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/search/advanced.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export default function AdvancedSearch({
onSubmit={handleSubmit}
>
<Flex flexDirection={{ base: "column", md: "row" }}>
<Flex id="advancedSearchLeft" gap="s" direction="column">
<Flex id="advancedSearchLeft" gap="s" direction="column" grow="1">
{textInputFields.map(({ name, label }) => {
return (
<FormField key={name}>
Expand Down Expand Up @@ -200,7 +200,7 @@ export default function AdvancedSearch({
</FormField>
<FormField>{<DateForm {...dateFormProps} />}</FormField>
</Flex>
<Flex direction="column" gap="l">
<Flex direction="column" gap="l" grow="1">
<SearchFilterCheckboxField
options={searchAggregations.buildingLocation}
name="location"
Expand Down

0 comments on commit 7918274

Please sign in to comment.