Skip to content

Commit

Permalink
[DataPickerFooter]: fixed footer height, LinkButton height
Browse files Browse the repository at this point in the history
  • Loading branch information
siarhei-epam committed Jun 26, 2024
1 parent 6dce5eb commit 3d8725b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion uui/components/pickers/DataPickerFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function DataPickerFooterImpl<TItem, TId>(props: PropsWithChildren<DataPickerFoo
const shouldShowFooter = isSinglePicker ? !props.disableClear : true;

return shouldShowFooter && (
<FlexRow padding={ settings.sizes.dataPickerFooter.flexRowPadding as FlexRowProps['padding'] }>
<FlexRow size={ props.size } padding={ settings.sizes.dataPickerFooter.flexRowPadding as FlexRowProps['padding'] }>
{!isSinglePicker && (
<Switch
size={ settings.sizes.dataPickerFooter.switch[props.size] as SwitchProps['size'] }
Expand Down
10 changes: 5 additions & 5 deletions uui/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ export const settings = {
48: '24',
},
linkButton: {
24: '12',
30: '18',
36: '18',
42: '24',
48: '24',
24: '24',
30: '30',
36: '36',
42: '42',
48: '48',
mobile: '48',
},
},
Expand Down

0 comments on commit 3d8725b

Please sign in to comment.