calcite-design-system icon indicating copy to clipboard operation
calcite-design-system copied to clipboard

[Tile] apply center alignment to only x axis

Open SkyeSeitz opened this issue 9 months ago • 1 comments

Check existing issues

Actual Behavior

alignment="center" middle aligns Tile's content on the y axis in addition to center aligning on the x axis causing misalignment of headers in Tile Group. image

I am also seeing some off center Tiles on `alignment="center" (see codepen below) image

Expected Behavior

alignment="center" only centers Tile's content on the x axis, but keeps it top aligned on the y axis. image

Reproduction Sample

https://codepen.io/skyeseitz/pen/RwOzVoP?editors=1000

Reproduction Steps

See codepen provided.

Reproduction Version

2.8.0

Relevant Info

cc @eriklharper @ashetland @macandcheese

Regression?

No response

Priority impact

p4 - not time sensitive

Impact

No response

Calcite package

  • [x] @esri/calcite-components
  • [ ] @esri/calcite-components-angular
  • [ ] @esri/calcite-components-react
  • [ ] @esri/calcite-design-tokens
  • [ ] @esri/eslint-plugin-calcite-components

Esri team

Calcite (design)

SkyeSeitz avatar May 03 '24 01:05 SkyeSeitz

Installed and assigned for verification.

github-actions[bot] avatar May 17 '24 21:05 github-actions[bot]

🍭 Verified on 2.9.0-next.18

DitwanP avatar May 21 '24 20:05 DitwanP