diff --git a/packages/calcite-components/src/components/tile/tile.scss b/packages/calcite-components/src/components/tile/tile.scss index d131049163a..31335f8a16b 100644 --- a/packages/calcite-components/src/components/tile/tile.scss +++ b/packages/calcite-components/src/components/tile/tile.scss @@ -69,6 +69,7 @@ calcite-link { .content-container { flex-direction: column; @include word-break(); + inline-size: var(--calcite-container-size-content-fluid); } .text-content-container { diff --git a/packages/calcite-components/src/components/tile/tile.stories.ts b/packages/calcite-components/src/components/tile/tile.stories.ts index 7cbd09296e8..4395b568a30 100644 --- a/packages/calcite-components/src/components/tile/tile.stories.ts +++ b/packages/calcite-components/src/components/tile/tile.stories.ts @@ -957,6 +957,58 @@ export const contentTopButton_TestOnly = (): string => html` `; +export const contentTopFullWidth_TestOnly = (): string => html` + + +
+
left side
+
right side
+
+
+
left side
+
right side
+
+
+`; + +export const contentBottomFullWidth_TestOnly = (): string => html` + + +
+
left side
+
right side
+
+
+
left side
+
right side
+
+
+`; + export const contentStartRTL_TestOnly = (): string => html`