Esri / calcite-design-system

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

calcite-tile alignment not applying on slotted content #10525

Open nid13240 opened 1 month ago

nid13240 commented 1 month ago

Check existing issues

Actual Behavior

If I use a calcite-tile with alignment="center", this alignment is not applied to slotted content.

Expected Behavior

I would expect the slotted content to have the alignment I set.

Reproduction Sample

https://codepen.io/nid13240/pen/eYqdQVj

Reproduction Steps

  1. Open the codepen above
  2. See that I have alignment="center" but the slotted div appears at the start of the tile

Reproduction Version

2.13.0

Relevant Info

No response

Regression?

No response

Priority impact

impact - p1 - need for current milestone

Impact

No response

Calcite package

Esri team

ArcGIS Map Viewer

geospatialem commented 1 week ago

Adding design for expertise with regards to the slotted content alignment story.