Skip to content

Commit

Permalink
(PC-34128) fix(VenueMapTypeFilter): fix label offset (#7622)
Browse files Browse the repository at this point in the history
  • Loading branch information
yleclercq-pass authored Feb 3, 2025
1 parent 305bdb1 commit 744a0c7
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export const VenueMapTypeFilter: FunctionComponent<Props> = ({ navigation, route
key={venueType}
label={MAP_VENUE_TYPE_TO_LABEL[venueType]}
isChecked={isChecked}
LabelComponent={isChecked ? TypoDS.Button : undefined}
LabelComponent={isChecked ? LabelCheckbox : undefined}
onPress={() => {
handleCheckboxPress(venueType)
}}
Expand All @@ -120,3 +120,8 @@ const StyledCheckbox = styled(Checkbox)({
const SelectAllCheckBox = styled(StyledCheckbox)({
marginBottom: getSpacing(2),
})

const LabelCheckbox = styled(TypoDS.Button)({
alignSelf: 'center',
flex: 1,
})

0 comments on commit 744a0c7

Please sign in to comment.