From 498623536e8c5cdb62f2a766214c063ab36b0293 Mon Sep 17 00:00:00 2001 From: Caleb Jasik Date: Thu, 30 Jan 2025 15:56:51 -0600 Subject: [PATCH] Adjust vertical padding for config items --- lib/components/config/ConfigItem.dart | 2 +- lib/components/config/ConfigPageItem.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/components/config/ConfigItem.dart b/lib/components/config/ConfigItem.dart index c19f16b..dcb3247 100644 --- a/lib/components/config/ConfigItem.dart +++ b/lib/components/config/ConfigItem.dart @@ -29,7 +29,7 @@ class ConfigItem extends StatelessWidget { return Container( color: Utils.configItemBackground(context), - padding: EdgeInsets.only(top: 10, bottom: 10, left: 15, right: 20), + padding: EdgeInsets.symmetric(vertical: 6, horizontal: 15), constraints: BoxConstraints(minHeight: Utils.minInteractiveSize), child: Row( crossAxisAlignment: crossAxisAlignment, diff --git a/lib/components/config/ConfigPageItem.dart b/lib/components/config/ConfigPageItem.dart index a353b47..80354a1 100644 --- a/lib/components/config/ConfigPageItem.dart +++ b/lib/components/config/ConfigPageItem.dart @@ -45,7 +45,7 @@ class ConfigPageItem extends StatelessWidget { onPressed: this.disabled ? null : onPressed, color: Utils.configItemBackground(context), child: Container( - padding: EdgeInsets.symmetric(horizontal: 15, vertical: 10), + padding: EdgeInsets.symmetric(vertical: 6, horizontal: 15), constraints: BoxConstraints(minHeight: Utils.minInteractiveSize, minWidth: double.infinity), child: Row( crossAxisAlignment: crossAxisAlignment,