From e7a3cb3d7da44cf851d8204c807767e2d18bb5ae Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Fri, 6 Feb 2026 12:12:58 +1100 Subject: [PATCH] change formatting of fields so that we cater for scroll-bar or no scroll-bar when we show graph or not in lower part of UI, this stops the fields wrapping onto the next line when the scroll bar appears --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 3451930..2d2421c 100644 --- a/main.py +++ b/main.py @@ -50,7 +50,7 @@ def index(): r.append( FP_VAR( 'Savings', 'Savings' ) ) r.append( FP_VAR( 'Car Loan via Pay', 'Car_loan_via_pay', 'readonly' ) ) r.append( FP_VAR( 'Living Expenses', 'Living_Expenses' ) ) - r.append( FP_VAR( 'Overseas Trip', 'Overseas_trip', 'date', 'col-auto', 'Overseas_trip_date' ) ) + r.append( FP_VAR( 'Overseas Trip', 'Overseas_trip', 'date', 'col', 'Overseas_trip_date' ) ) DISP.append(r) # Row 2 @@ -59,7 +59,7 @@ def index(): r.append( FP_VAR( 'Interest Rate', 'Interest_Rate' ) ) r.append( FP_VAR( 'Car Loan (monthly)', 'Car_loan', 'readonly' ) ) r.append( FP_VAR( 'Inflation', 'Inflation' ) ) - r.append( FP_VAR( 'Reno Costs', 'Mark_reno', 'date', 'col-auto', 'Mark_reno_date' ) ) + r.append( FP_VAR( 'Reno Costs', 'Mark_reno', 'date', 'col', 'Mark_reno_date' ) ) DISP.append(r) # Row 2 @@ -72,7 +72,7 @@ def index(): ss_opt.append( { 'val': el, 'label': f'{el} years' } ) r.append( FP_VAR( 'Sell Shares for:', 'Sell_shares', 'select', 'col-auto', '', ss_opt ) ) - r.append( FP_VAR( 'Car Buyout', 'Car_buyout', 'date', 'col-auto', 'Car_buyout_date' ) ) + r.append( FP_VAR( 'Car Buyout', 'Car_buyout', 'date', 'col', 'Car_buyout_date' ) ) DISP.append(r) # Row 3