Skip to content

Commit 654780c

Browse files
committed
disabled icons animations when Percy is taking screenshots
1 parent e75eff6 commit 654780c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

showcase/app/styles/_globals.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,4 +236,8 @@ body {
236236
main section:not([data-test-percy]) {
237237
display: none !important;
238238
}
239+
// disable icons animations when Percy is taking screenshots
240+
.hds-icon--animation-loading {
241+
animation: none !important;
242+
}
239243
}

0 commit comments

Comments
 (0)