From b279d1429207a2f92fd7b36149ab4a4b632596d9 Mon Sep 17 00:00:00 2001 From: Gregor Wassmann Date: Fri, 31 Mar 2023 08:14:42 +0200 Subject: [PATCH] chore: v11 AspectRatio The `bx--aspect-ratio--object` class is gone and needs to be replaced manually. --- docs/src/components/TileCard.svelte | 2 +- src/AspectRatio/AspectRatio.svelte | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/src/components/TileCard.svelte b/docs/src/components/TileCard.svelte index 55bb2464..9bf41ffd 100644 --- a/docs/src/components/TileCard.svelte +++ b/docs/src/components/TileCard.svelte @@ -18,7 +18,7 @@ this="{tileComponent}" href="{href}" {...$$restProps} - style="height: 100%;" + style="height: 100%; width: 100%; position: absolute;" >
diff --git a/src/AspectRatio/AspectRatio.svelte b/src/AspectRatio/AspectRatio.svelte index d3322124..e48418be 100644 --- a/src/AspectRatio/AspectRatio.svelte +++ b/src/AspectRatio/AspectRatio.svelte @@ -19,7 +19,5 @@ class:bx--aspect-ratio--1x2="{ratio === '1x2'}" {...$$restProps} > -
- -
+