chore: v11 AspectRatio

The `bx--aspect-ratio--object` class is gone and needs to be replaced manually.
This commit is contained in:
Gregor Wassmann 2023-03-31 08:14:42 +02:00 committed by Enrico Sacchetti
commit b279d14292
No known key found for this signature in database
GPG key ID: 3374B89ECA60D796
2 changed files with 2 additions and 4 deletions

View file

@ -18,7 +18,7 @@
this="{tileComponent}"
href="{href}"
{...$$restProps}
style="height: 100%;"
style="height: 100%; width: 100%; position: absolute;"
>
<div class="card">
<div>

View file

@ -19,7 +19,5 @@
class:bx--aspect-ratio--1x2="{ratio === '1x2'}"
{...$$restProps}
>
<div class:bx--aspect-ratio--object="{true}">
<slot />
</div>
<slot />
</div>