[Tile] apply center alignment to only x axis #9252
Labels
4 - verified
Issues that have been released and confirmed resolved.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
Calcite (design)
Issues logged by Calcite designers.
estimate - 1
Very small fix or change (potentially a single line), doesn't require updates to tests.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
visual changes
Issues with visual changes that are added for consistency, but are not backwards compatible
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.I am also seeing some off center Tiles on `alignment="center" (see codepen below)
![image](https://private-user-images.githubusercontent.com/29716057/327625917-df0c3e16-f95c-4feb-a373-a9b13a2e8a0d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3MDA2ODcsIm5iZiI6MTcxOTcwMDM4NywicGF0aCI6Ii8yOTcxNjA1Ny8zMjc2MjU5MTctZGYwYzNlMTYtZjk1Yy00ZmViLWEzNzMtYTliMTNhMmU4YTBkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI5VDIyMzMwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ4MmI2NWU1OWY4MTE4YzdmOGZmZmZmYjg0YWJmYTcyMGMyZDE1NDNkNWJiMGUwYzlkM2MyYTcwZGRjYmJhNDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.BqaHTXsX9iQtY_-nbBOiW9dAVVF3i-XMA5VFkBeqR4w)
Expected Behavior
alignment="center"
only centers Tile's content on the x axis, but keeps it top aligned on the y axis.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
Esri team
Calcite (design)
The text was updated successfully, but these errors were encountered: