Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
293 stars 75 forks source link

[Accordion Item] Stretch slotted actions to fill height of component #6565

Closed macandcheese closed 1 month ago

macandcheese commented 1 year ago

Description

Noticed this while testing out https://github.com/Esri/calcite-components/issues/6561 / https://github.com/Esri/calcite-components/issues/2884#issuecomment-1454349330.

Slotted actions don't stretch to fill the height:

Screen Shot 2023-03-04 at 10 49 10 AM

Acceptance Criteria

We should follow how we handle this in other components - stretching the actions to fill when we expect the component as a slotted child, for example in Alert:

Screen Shot 2023-03-04 at 10 52 27 AM

Relevant Info

No response

Which Component

Accordion Item

Example Use Case

No response

Esri team

Calcite (design)

geospatialem commented 2 months ago

Adding context to the above - once the above lands ✈️ we have a follow-up internal documentation update (issue 703).

github-actions[bot] commented 1 month ago

Installed and assigned for verification.

DitwanP commented 1 month ago

🍠 Verified on 2.14.0-next.6 image