diff --git a/packages/desktop-client/src/components/reports/reports/CashFlowCard.jsx b/packages/desktop-client/src/components/reports/reports/CashFlowCard.jsx index a5984b82c55a3e651e01d82b2f5271c3c746ac0a..ae376b2c5cde6f8ec751bb3119dd338b350df8d8 100644 --- a/packages/desktop-client/src/components/reports/reports/CashFlowCard.jsx +++ b/packages/desktop-client/src/components/reports/reports/CashFlowCard.jsx @@ -26,7 +26,7 @@ function CustomLabel({ width: barWidth, height: barHeight, }) { - const valueLengthOffset = value.toString().length < 5 ? -40 : 20; + const valueLengthOffset = 20; const yOffset = barHeight < 25 ? 105 : y; diff --git a/upcoming-release-notes/2775.md b/upcoming-release-notes/2775.md new file mode 100644 index 0000000000000000000000000000000000000000..d32b2df76fdef989c20f67bceb89ec0d78aace5b --- /dev/null +++ b/upcoming-release-notes/2775.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [Tigatok] +--- + +Adds income on left and expense on right always. Hide bar if value is 0.