Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: pinging badge active vote (#5568)
* chore: adds prop classes to PingingBadge and remove positioning classes from it * feat: adds PingingBadge component to ProposalAnswer * chore: remove .ring css selector Co-authored-by: Tuditi <daviddetroch@pm.me>
- Loading branch information
1 parent
3d3d9a4
commit 6532b1d
Showing
3 changed files
with
6 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
<script lang="typescript"> | ||
export let innerColor = 'blue-500' | ||
export let outerColor = 'blue-500' | ||
export let classes = '' | ||
</script> | ||
|
||
<span class="absolute -top-2 -left-2 flex justify-center items-center h-3 w-3"> | ||
<span class="flex justify-center items-center h-3 w-3 {classes}"> | ||
<span class="animate-ping absolute inline-flex h-full w-full rounded-full bg-{outerColor} opacity-75" /> | ||
<span class="relative inline-flex rounded-full h-2 w-2 bg-{innerColor}" /> | ||
</span> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters