mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
chore: v11 AspectRatio
The `bx--aspect-ratio--object` class is gone and needs to be replaced manually.
This commit is contained in:
parent
a3f577bea3
commit
b279d14292
2 changed files with 2 additions and 4 deletions
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue