Skip to content

Commit

Permalink
feat(ui-options): modify default nested Options padding to have no ex…
Browse files Browse the repository at this point in the history
…tra padding

The nested Options used to have a little extra padding by default. It has been modified to have no
extra padding by default, but can still be set via the `nestedPadding` theme variable.
  • Loading branch information
ke1k0 committed Mar 22, 2022
1 parent 7eb3f64 commit bfc4f7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui-options/src/Options/Item/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const generateComponentTheme = (theme: Theme): OptionsItemTheme => {

padding: `${spacing?.xSmall} ${spacing?.small}`,
iconPadding: spacing?.small,
nestedPadding: spacing?.medium,
nestedPadding: spacing?.small,

beforeLabelContentVOffset: '0.625rem',
afterLabelContentVOffset: '0.625rem',
Expand Down

0 comments on commit bfc4f7c

Please sign in to comment.