From 6e2545ef83eb8229bb3dc6d4eace3e11e395d57a Mon Sep 17 00:00:00 2001 From: aPreciado88 Date: Fri, 12 Jul 2024 16:31:05 -0700 Subject: [PATCH] fix(tile): center align slot text when alignment is equal to center --- packages/calcite-components/src/components/tile/tile.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/calcite-components/src/components/tile/tile.scss b/packages/calcite-components/src/components/tile/tile.scss index bf2b88d339a..7e8f4896243 100644 --- a/packages/calcite-components/src/components/tile/tile.scss +++ b/packages/calcite-components/src/components/tile/tile.scss @@ -103,6 +103,9 @@ .icon { align-self: center; } + .text-content-container { + justify-content: center; + } .text-content { text-align: center; }