mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-08 13:41:51 +02:00
✨ Use dialogs to finalize and duplicate polls (#1099)
This commit is contained in:
parent
dee3e1b7d0
commit
2185ec5b83
17 changed files with 442 additions and 397 deletions
|
@ -31,7 +31,7 @@ export const VoteSummaryProgressBar = (props: {
|
|||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<div
|
||||
className="h-full bg-green-500 hover:opacity-75"
|
||||
className="h-full bg-green-500 opacity-75 hover:opacity-100"
|
||||
style={{
|
||||
width: (props.yes.length / props.total) * 100 + "%",
|
||||
}}
|
||||
|
@ -44,7 +44,7 @@ export const VoteSummaryProgressBar = (props: {
|
|||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<div
|
||||
className="h-full bg-amber-400 hover:opacity-75"
|
||||
className="h-full bg-amber-400 opacity-75 hover:opacity-100"
|
||||
style={{
|
||||
width: (props.ifNeedBe.length / props.total) * 100 + "%",
|
||||
}}
|
||||
|
@ -57,7 +57,7 @@ export const VoteSummaryProgressBar = (props: {
|
|||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<div
|
||||
className="h-full bg-gray-300 hover:opacity-75"
|
||||
className="h-full bg-gray-300 opacity-75 hover:opacity-100"
|
||||
style={{
|
||||
width: (props.no.length / props.total) * 100 + "%",
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue