mirror of
https://github.com/shoelace-style/webawesome.git
synced 2026-01-12 20:19:13 +00:00
improve
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user