Add vertical padding to ConfigPageItem in case children wrap (#233)

This commit is contained in:
Caleb Jasik 2025-01-24 10:48:00 -06:00 committed by GitHub
parent b41054920a
commit 382e2bbbf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@ class ConfigPageItem extends StatelessWidget {
onPressed: this.disabled ? null : onPressed,
color: Utils.configItemBackground(context),
child: Container(
padding: EdgeInsets.only(left: 15, right: 15),
padding: EdgeInsets.symmetric(horizontal: 15, vertical: 10),
constraints: BoxConstraints(minHeight: Utils.minInteractiveSize, minWidth: double.infinity),
child: Row(
crossAxisAlignment: crossAxisAlignment,