Skip to content

Commit 1994859

Browse files
authored
Update fast-search-card.js
1 parent 4f70f04 commit 1994859

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

dist/fast-search-card.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,6 +1158,11 @@ class FastSearchCard extends HTMLElement {
11581158
border-radius: 20px;
11591159
z-index: 2;
11601160
opacity: 0;
1161+
transform: scale(0.95);
1162+
transition: opacity 0.6s ease, transform 0.6s ease;
1163+
}
1164+
1165+
.icon-video.loaded {
11611166
animation: videoFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
11621167
}
11631168

@@ -1172,9 +1177,7 @@ class FastSearchCard extends HTMLElement {
11721177
}
11731178
}
11741179

1175-
.icon-video[autoplay] {
1176-
opacity: 1;
1177-
}
1180+
11781181

11791182
.icon-content {
11801183
flex-grow: 1;

0 commit comments

Comments
 (0)