fix(turbopack): fix animation issues with unnamed animations in CSS modules (#26408)

This commit is contained in:
lyzno1
2025-09-29 13:47:48 +08:00
committed by GitHub
parent d2f0551170
commit 00f3a53f1c

View File

@@ -1,6 +1,6 @@
.dot-flashing { .dot-flashing {
position: relative; position: relative;
animation: 1s infinite linear alternate; animation: dot-flashing 1s infinite linear alternate;
animation-delay: 0.5s; animation-delay: 0.5s;
} }
@@ -10,7 +10,7 @@
display: inline-block; display: inline-block;
position: absolute; position: absolute;
top: 0; top: 0;
animation: 1s infinite linear alternate; animation: dot-flashing 1s infinite linear alternate;
} }
.dot-flashing::before { .dot-flashing::before {
@@ -51,15 +51,21 @@
border-radius: 50%; border-radius: 50%;
background-color: #667085; background-color: #667085;
color: #667085; color: #667085;
animation-name: dot-flashing; animation: dot-flashing 1s infinite linear alternate;
}
.text {
animation-delay: 0.5s;
} }
.text::before { .text::before {
left: -7px; left: -7px;
animation-delay: 0s;
} }
.text::after { .text::after {
left: 7px; left: 7px;
animation-delay: 1s;
} }
.avatar, .avatar,
@@ -70,13 +76,19 @@
border-radius: 50%; border-radius: 50%;
background-color: #155EEF; background-color: #155EEF;
color: #155EEF; color: #155EEF;
animation-name: dot-flashing-avatar; animation: dot-flashing-avatar 1s infinite linear alternate;
}
.avatar {
animation-delay: 0.5s;
} }
.avatar::before { .avatar::before {
left: -5px; left: -5px;
animation-delay: 0s;
} }
.avatar::after { .avatar::after {
left: 5px; left: 5px;
animation-delay: 1s;
} }