diff --git a/packages/desktop-client/src/components/budget/MobileBudgetTable.js b/packages/desktop-client/src/components/budget/MobileBudgetTable.js index f91080804d4..bb95540b996 100644 --- a/packages/desktop-client/src/components/budget/MobileBudgetTable.js +++ b/packages/desktop-client/src/components/budget/MobileBudgetTable.js @@ -37,6 +37,8 @@ import { AmountInput } from '../util/AmountInput'; // import { DragDrop, Draggable, Droppable, DragDropHighlight } from './dragdrop'; import { ListItem, ROW_HEIGHT } from './MobileTable'; +const smallVPWidth = document.documentElement.clientWidth < 365; + function ToBudget({ toBudget, onClick }) { let amount = useSheetValue(toBudget); let format = useFormat(); @@ -320,16 +322,18 @@ class BudgetCategory extends PureComponent { month={month} onBudgetAction={onBudgetAction} /> - + {!smallVPWidth ? ( + + ) : null} - + {!smallVPWidth ? ( + + ) : null} - - + > +