Skip to content

Commit e425c6a

Browse files
authored
fix screenshots on safari (#739)
* fix screenshots on safari * fix another
1 parent 429af4e commit e425c6a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/svelte.dev/src/routes/_home/Testimonials.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
transition-property: filter, scale;
9696
transition-duration: 0.2s;
9797
user-select: none;
98+
will-change: filter, transform;
9899
99100
&:nth-child(1) {
100101
top: 0%;

packages/site-kit/src/lib/components/Dropdown.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
border-radius: var(--sk-border-radius);
3737
z-index: 999;
3838
-webkit-transform: var(--safari-fix);
39+
will-change: opacity;
3940
4041
&.align-right {
4142
left: auto;

0 commit comments

Comments
 (0)