Skip to content

Commit

Permalink
Adjust vertical padding for config items (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasikpark authored Jan 31, 2025
1 parent f69f7cc commit 961312a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/components/config/ConfigItem.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lib/components/config/ConfigPageItem.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 961312a

Please sign in to comment.