Skip to content

Commit

Permalink
refactor: add box-sizing border-box to card styles
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Dec 20, 2024
1 parent 9a7c9dc commit dc8d1d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/card/src/vaadin-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class Card extends ElementMixin(ThemableMixin(PolylitMixin(LitElement))) {
:host {
display: flex;
flex-direction: column;
box-sizing: border-box;
padding: var(--_padding);
gap: var(--_gap);
--_padding: var(--vaadin-card-padding, 1em);
Expand Down

0 comments on commit dc8d1d2

Please sign in to comment.