Skip to content

Commit

Permalink
fix(frontend/statistics): show budget line when over budget (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras authored Feb 3, 2025
1 parent b17c60e commit cb14c15
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/app/components/statistic-list/bar.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@
{{#if @goal}}
<div
...attributes
class="statistic-list-bar-goal before:border-danger before:border-r-2 before:border-dotted"
class="statistic-list-bar-goal z-20 before:border-r-2 before:border-dotted
{{if
(gt @value @goal)
'before:border-foreground-primary'
'before:border-danger'
}}"
{{style --value=(concat (min "0.99" @goal))}}
></div>
{{/if}}
Expand Down

0 comments on commit cb14c15

Please sign in to comment.