Skip to content

Commit

Permalink
fix(Card): prevent empty sm: class when rounded-class is null
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jun 23, 2022
1 parent 33b1176 commit dd64637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/components/layout/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const cardClass = computed(() => {
return classNames(
props.baseClass,
props.padded && props.rounded && props.roundedClass,
!props.padded && props.rounded && `sm:${props.roundedClass}`,
!props.padded && props.rounded && props.roundedClass && `sm:${props.roundedClass}`,
props.ringClass,
props.shadowClass,
props.backgroundClass,
Expand Down

0 comments on commit dd64637

Please sign in to comment.