diff --git a/docs/docs/components/card.md b/docs/docs/components/card.md index 07707d893..3ba37bce9 100644 --- a/docs/docs/components/card.md +++ b/docs/docs/components/card.md @@ -9,7 +9,7 @@ icon: card A kitten sits patiently between a terracotta pot and decorative grasses. @@ -57,7 +57,7 @@ If using SSR, you need to also use the `with-header` attribute to add a header t This card has a header. You can put all sorts of things in it! diff --git a/src/components/card/card.ts b/src/components/card/card.ts index 83ee846d2..e3914bb0b 100644 --- a/src/components/card/card.ts +++ b/src/components/card/card.ts @@ -62,9 +62,14 @@ export default class WaCard extends WebAwesomeElement { } render() { + if (this.orientation === 'horizontal') { + return html`horizontal`; + } return html` - + + + `;