A local-first personal finance app
fix: move rollover arrow into view (#2774)
Tyler Marshallbbc123c3b845
diff --git a/packages/desktop-client/src/components/budget/BalanceWithCarryover.tsx b/packages/desktop-client/src/components/budget/BalanceWithCarryover.tsxindex 2db27cbe11..0dc58ae175 100644--- a/packages/desktop-client/src/components/budget/BalanceWithCarryover.tsx+++ b/packages/desktop-client/src/components/budget/BalanceWithCarryover.tsx@@ -3,6 +3,7 @@ import React, { type ComponentProps } from 'react';import { useFeatureFlag } from '../../hooks/useFeatureFlag';import { SvgArrowThinRight } from '../../icons/v1';+import { useResponsive } from '../../ResponsiveProvider';import { type CSSProperties } from '../../style';import { View } from '../common/View';import { CellValue } from '../spreadsheet/CellValue';@@ -33,6 +34,9 @@ export function BalanceWithCarryover({const goalValue = useSheetValue(goal);const budgetedValue = useSheetValue(budgeted);const isGoalTemplatesEnabled = useFeatureFlag('goalTemplatesEnabled');++ const { isNarrowWidth } = useResponsive();+return (<><CellValue@@ -60,7 +64,7 @@ export function BalanceWithCarryover({alignSelf: 'center',marginLeft: 2,position: 'absolute',- right: -8,+ right: isNarrowWidth ? '-8px' : '-4px',top: 0,bottom: 0,justifyContent: 'center',diff --git a/upcoming-release-notes/2774.md b/upcoming-release-notes/2774.mdnew file mode 100644index 0000000000..1b83cd958a--- /dev/null+++ b/upcoming-release-notes/2774.md@@ -0,0 +1,6 @@+---+category: Bugfix+authors: [Tigatok]+---++Move the rollover arrow into view.