Skip to content

Commit

Permalink
adjust formatting for indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltsoukup committed Aug 31, 2024
1 parent 256f14e commit 98b1ee1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/assets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ body {
.card-title {
color: #2D2D32;
font-family: "Familjen Grotesk", sans-serif;
font-weight: 600;
font-weight: 550;
font-size: 35px;
}

Expand Down
4 changes: 2 additions & 2 deletions app/src/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ def _get_indicator(
value and delta in percentage.
"""
# round numbers
value = round(value, 2)
value = round(value, 1)

elements = []

Expand All @@ -520,7 +520,7 @@ def _get_indicator(
elements.append(value_line)

if delta:
delta = round(delta, 2)
delta = round(delta, 1)

# check sign to set color & logo appropriately
if delta >= 0:
Expand Down

0 comments on commit 98b1ee1

Please sign in to comment.