Merge pull request #5865 from chezsmithy/fix-generating-ellipsis
fix: 🐛 Fix the generating animation
This commit is contained in:
commit
0534547f75
1 changed files with 7 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import styled from "styled-components";
|
||||
import { varWithFallback } from "../styles/theme";
|
||||
|
||||
// DEPRECATED - avoid using these where possible, use tailwind classes instead
|
||||
export const defaultBorderRadius = "5px";
|
||||
export const lightGray = "#999998";
|
||||
export const greenButtonColor = "#189e72";
|
||||
|
|
@ -210,8 +209,11 @@ export const AnimatedEllipsis = styled.span`
|
|||
&::after {
|
||||
content: ".";
|
||||
animation: ellipsis 2.5s infinite;
|
||||
animation-fill-mode: forwards;
|
||||
animation-play-state: running;
|
||||
will-change: content;
|
||||
display: inline-block;
|
||||
width: 12px;
|
||||
width: 16px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
|
@ -225,5 +227,8 @@ export const AnimatedEllipsis = styled.span`
|
|||
66% {
|
||||
content: "...";
|
||||
}
|
||||
100% {
|
||||
content: ".";
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue