From 9c629643ce3e43e1973dc9ae81a76ecfd10c7cd5 Mon Sep 17 00:00:00 2001 From: Edouard Marquez Date: Fri, 10 Jan 2025 00:13:34 +0100 Subject: [PATCH] Fix padding --- .../smooth_app/lib/pages/product/simple_input_widget.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/smooth_app/lib/pages/product/simple_input_widget.dart b/packages/smooth_app/lib/pages/product/simple_input_widget.dart index 96963db4cfe..bd146a556f9 100644 --- a/packages/smooth_app/lib/pages/product/simple_input_widget.dart +++ b/packages/smooth_app/lib/pages/product/simple_input_widget.dart @@ -142,8 +142,10 @@ class _SimpleInputWidgetState extends State { _getList(appLocalizations), if (extraWidget != null) extraWidget + else if (_localTerms.isEmpty) + const SizedBox(height: MEDIUM_SPACE) else - const SizedBox(height: MEDIUM_SPACE), + const SizedBox(height: VERY_SMALL_SPACE), ], ); @@ -260,6 +262,7 @@ class _SimpleInputWidgetState extends State { contentPadding: const EdgeInsetsDirectional.only( start: LARGE_SPACE, ), + minTileHeight: 48.0, title: child, ); }