Skip to content

Commit

Permalink
Fixed booking drawer gap
Browse files Browse the repository at this point in the history
  • Loading branch information
villepynttari committed Sep 12, 2024
1 parent 88cc6c3 commit 6ae9dab
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions frontend/src/components/BookingDrawer/BookingDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ export const Row = styled(Box)(({ theme }) => ({
flexDirection: 'row',
alignItems: 'flex-start',
padding: '0px',
width: '100%'
width: '100%',
marginBottom: '8px'
}));

export const RowAlert = styled(Box)(({ theme }) => ({
Expand Down Expand Up @@ -540,15 +541,16 @@ const BookingDrawer = (props: Props) => {
quick duration selection (Minutes)
</SmallText>
</Row>

<DurationPicker
bookingDuration={duration}
onChange={handleDurationChange}
setExpandDurationTimePickerDrawer={
setExpandDurationTimePickerDrawer
}
additionalDuration={additionalDuration}
/>
<Row>
<DurationPicker
bookingDuration={duration}
onChange={handleDurationChange}
setExpandDurationTimePickerDrawer={
setExpandDurationTimePickerDrawer
}
additionalDuration={additionalDuration}
/>
</Row>
<Row>
<SmallText>booking (rounded to next 5 min)</SmallText>
</Row>
Expand Down

0 comments on commit 6ae9dab

Please sign in to comment.