Skip to content

Commit

Permalink
remove large size of card
Browse files Browse the repository at this point in the history
  • Loading branch information
Haberkamp committed Nov 26, 2024
1 parent b5e93db commit 1ee5234
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
10 changes: 10 additions & 0 deletions .changeset/dry-geckos-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@shopware-ag/meteor-component-library": major
---

Removed large width of card

The large size of the card has been removed. Container sizes
like this should be defined by the parent element.

To migrate, add a max-width of `83.125rem` to the parent element.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ export const MinimalStory: StoryObj<MtCardMeta> = {
headerRight: null,
hero: false,
isLoading: false,
large: false,
avatar: null,
updateInheritance: fn(action("update:inhertitance")),
},
Expand Down Expand Up @@ -192,7 +191,6 @@ export const ExtendedStory: StoryObj<MtCardMeta> = {
headerRight: "Header right",
hero: false,
isLoading: false,
large: false,
avatar: "AVTR",
tabs: true,
"context-actions": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ const props = defineProps<{
// @deprecated v4.0.0 - will be removed without replacement
hero?: boolean;
isLoading?: boolean;
// @deprecated v4.0.0 - will be removed without replacement
large?: boolean;
inheritance?: boolean;
}>();
Expand Down Expand Up @@ -261,6 +258,7 @@ const cardClasses = computed(() => ({
}
}
<<<<<<< HEAD
/* @depracated v4.0.0 - will be removed without replacement */
.mt-card--large {
max-width: 83.125rem;
Expand All @@ -280,7 +278,7 @@ const cardClasses = computed(() => ({
margin-inline: 0;
}
.mt-card__titles {
=======>>>>>>>28481366 (remove large size of card) .mt-card__titles {
display: flex;
flex-direction: column;
justify-content: space-between;
Expand Down

0 comments on commit 1ee5234

Please sign in to comment.