mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-29 19:14:22 -05:00
fix: put income on left and expense on right always, hide when 0 (#2775)
This commit is contained in:
@@ -26,7 +26,7 @@ function CustomLabel({
|
|||||||
width: barWidth,
|
width: barWidth,
|
||||||
height: barHeight,
|
height: barHeight,
|
||||||
}) {
|
}) {
|
||||||
const valueLengthOffset = value.toString().length < 5 ? -40 : 20;
|
const valueLengthOffset = 20;
|
||||||
|
|
||||||
const yOffset = barHeight < 25 ? 105 : y;
|
const yOffset = barHeight < 25 ? 105 : y;
|
||||||
|
|
||||||
|
|||||||
6
upcoming-release-notes/2775.md
Normal file
6
upcoming-release-notes/2775.md
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
category: Bugfix
|
||||||
|
authors: [Tigatok]
|
||||||
|
---
|
||||||
|
|
||||||
|
Adds income on left and expense on right always. Hide bar if value is 0.
|
||||||
Reference in New Issue
Block a user