Skip to content

Commit

Permalink
get rid of unused classes in sw-card component
Browse files Browse the repository at this point in the history
  • Loading branch information
Haberkamp committed Mar 4, 2024
1 parent d4f992c commit 1b55f25
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,7 @@ export default defineComponent({
"sw-card--grid": !!this.$slots.grid,
"sw-card--hero": !!this.hero,
"sw-card--large": this.large,
"has--header": !!this.showHeader,
"has--title": !!this.title || !!this.$slots.title,
"has--subtitle": !!this.subtitle,
"has--toolbar": !!this.$slots.toolbar,
"has--footer": !!this.$slots.footer,
"sw-card--has-footer": !!this.$slots.footer,
};
},
},
Expand Down Expand Up @@ -355,7 +351,7 @@ export default defineComponent({
display: none;
}
&.has--footer {
&.sw-card--has-footer {
.sw-card__content {
border: none;
border-radius: 0;
Expand Down

0 comments on commit 1b55f25

Please sign in to comment.