This commit is contained in:
Cory LaViska
2025-06-12 14:13:03 -04:00
parent 1a1409b687
commit 627352798c

View File

@@ -23,12 +23,12 @@ isPro: true
<wa-comparison position="80">
<wa-zoomable-frame
slot="after"
slot="before"
without-controls
without-interaction
></wa-zoomable-frame>
<wa-zoomable-frame
slot="before"
slot="after"
without-controls
without-interaction
></wa-zoomable-frame>
@@ -99,6 +99,16 @@ isPro: true
margin-inline: auto;
}
wa-comparison {
&::part(before) {
background-color: white;
}
&::part(after) {
background-color: var(--wa-color-surface-default);
}
}
wa-zoomable-frame {
aspect-ratio: 8 / 4;
}