Skip to content

Commit

Permalink
fix: parse progressing bg
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Nov 18, 2023
1 parent f0b1d94 commit 182cf06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/frontend/ui.cljs
Expand Up @@ -1069,9 +1069,9 @@
(rum/defc progress-bar
[width]
{:pre (integer? width)}
[:div.w-full.bg-indigo-200.rounded-full.h-2.5.animate-pulse
[:div.bg-indigo-600.h-2.5.rounded-full {:style {:width (str width "%")}
:transition "width 1s"}]])
[:div.w-full.rounded-full.h-2.5.animate-pulse.bg-gray-06-alpha
[:div.bg-gray-09-alpha.h-2.5.rounded-full {:style {:width (str width "%")}
:transition "width 1s"}]])

(rum/defc progress-bar-with-label
[width label-left label-right]
Expand Down

0 comments on commit 182cf06

Please sign in to comment.