Skip to content

Commit

Permalink
Fix poker voting metrics bar height when percentage is lower
Browse files Browse the repository at this point in the history
This resolves #654
  • Loading branch information
StevenWeathers committed Dec 19, 2024
1 parent 0bfc14f commit 590dd3f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/src/components/poker/VotingMetrics.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,12 @@
>
<div class="w-full h-full flex flex-col justify-end">
<div
class="w-full bg-blue-500 transition-all duration-500 ease-out relative"
class="bg-blue-500 transition-all duration-500 ease-out absolute bottom-0 left-0 right-0"
style="height: {getBarHeight(count)}%; min-height: 2px;"
></div>
<div
class="w-full relative"
style="height: {getBarHeight(count)}%; min-height: 80px;"
>
<div
class="h-full flex items-center justify-center text-white font-bold text-lg"
Expand Down

0 comments on commit 590dd3f

Please sign in to comment.