shopware / meteor

Meteor is Shopware’s open-source design system that drives our commerce solutions. Extend and customise every aspect of Shopware – create elegant, delightful, and accessible experiences. There are no limits to your imagination.
https://shopware.design
MIT License
18 stars 3 forks source link

remove default margin from card #300

Closed Haberkamp closed 19 hours ago

Haberkamp commented 1 day ago

What?

This PR removes the default margin from the card component.

Why?

Components should not have margin set by themselves. The parent component should always take care of spacing elements.

How?

The default margin will only be removed when the removeDefaultMargin flag is enabled.

Testing?

Add a mt-theme-provider component and enable the removeDefaultMargin flag

vercel[bot] commented 1 day ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
meteor-admin-sdk-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2024 1:54pm
meteor-component-library ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2024 1:54pm
pkg-pr-new[bot] commented 22 hours ago

Open in Stackblitz

pnpm add https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-admin-sdk@300
pnpm add https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-component-library@300
pnpm add https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-tokens@300
pnpm add https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-icon-kit@300

commit: d4a8382