From 02f58d3c8bba3fac2eca1703266cd6233fbfce9c Mon Sep 17 00:00:00 2001 From: Kelsey Jackson Date: Tue, 28 Oct 2025 09:42:52 -0500 Subject: [PATCH] Fix `` header and footer slot alignment (#1435) * fixes to the card component * linter fix * updated doc css * style touchup * docs touchup * remove docs.css change * add changelog (and sneak in missing Figma entry) --------- Co-authored-by: lindsaym-fa --- .../webawesome/docs/docs/components/card.md | 23 ++++++++-------- .../docs/docs/resources/changelog.md | 2 ++ .../webawesome/src/components/card/card.css | 22 +++++++++++----- .../webawesome/src/components/card/card.ts | 26 +++++++++++++------ 4 files changed, 47 insertions(+), 26 deletions(-) diff --git a/packages/webawesome/docs/docs/components/card.md b/packages/webawesome/docs/docs/components/card.md index bbca071f4..45f10a62d 100644 --- a/packages/webawesome/docs/docs/components/card.md +++ b/packages/webawesome/docs/docs/components/card.md @@ -100,19 +100,20 @@ If using SSR, you need to also use the `with-media` attribute to add a media sec ```html {.example} @@ -153,10 +154,10 @@ Use the `appearance` attribute to change the card's visual appearance. ### Orientation Set the `orientation` attribute to `horizontal` to create a card with a horizontal, side-by-side layout. Make sure to set a width or maximum width for the media slot. Horizontal cards do not currently contain the header and footer slots. - - + +:::info The `actions` slot is only available for the horizontal orientation - +::: ```html {.example}