Skip to content

Commit

Permalink
fix(comp:radio): gap behaves abnormally when configured without 0px (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
threedayAAAAA committed Nov 28, 2023
1 parent 3692447 commit 9ecd14a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/radio/src/RadioGroup.tsx
Expand Up @@ -64,7 +64,7 @@ export default defineComponent({
return normalizeClass({
[prefixCls]: true,
[`${common.prefixCls}-button-group`]: buttoned,
[`${common.prefixCls}-button-group-compact`]: buttoned && (!gap || gap === '0'),
[`${common.prefixCls}-button-group-compact`]: buttoned && (!gap || gap === '0' || gap === '0px'),
})
})

Expand Down

0 comments on commit 9ecd14a

Please sign in to comment.