diff --git a/docs/docs/components/card.md b/docs/docs/components/card.md index bb50a96cd..daf427d79 100644 --- a/docs/docs/components/card.md +++ b/docs/docs/components/card.md @@ -15,9 +15,9 @@ icon: card Mittens
This kitten is as cute as he is playful. Bring him home today!
- 6 weeks old + 6 weeks old -
+
More Info
@@ -27,16 +27,6 @@ icon: card .card-overview { width: 300px; } - - .card-overview small { - color: var(--wa-color-text-quiet); - } - - .card-overview [slot='footer'] { - display: flex; - justify-content: space-between; - align-items: center; - } ``` @@ -65,9 +55,9 @@ If using SSR, you need to also use the `with-header` attribute to add a header t ```html {.example} -
+ This card has a header. You can put all sorts of things in it! @@ -78,19 +68,9 @@ If using SSR, you need to also use the `with-header` attribute to add a header t max-width: 300px; } - .card-header [slot='header'] { - display: flex; - align-items: center; - justify-content: space-between; - } - .card-header h3 { margin: 0; } - - .card-header wa-icon-button { - font-size: var(--wa-font-size-m); - } ``` @@ -103,7 +83,7 @@ If using SSR, you need to also use the `with-footer` attribute to add a footer t This card has a footer. You can put all sorts of things in it! -
+ @@ -113,12 +93,6 @@ If using SSR, you need to also use the `with-footer` attribute to add a footer t .card-footer { max-width: 300px; } - - .card-footer [slot='footer'] { - display: flex; - justify-content: space-between; - align-items: center; - } ``` @@ -153,7 +127,7 @@ Use the `size` attribute to change a card's size. This is a small card. -