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}" this="{tileComponent}"
href="{href}" href="{href}"
{...$$restProps} {...$$restProps}
style="height: 100%;" style="height: 100%; width: 100%; position: absolute;"
> >
<div class="card"> <div class="card">
<div> <div>

View file

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