Skip to content

Commit 9b77746

Browse files
committed
style(app_configuration): remove horizontal padding from limits description text
- Remove Padding widget wrapping the limits description text - Directly use Text widget for limits description - Maintains vertical spacing before and after the text
1 parent 1c9b212 commit 9b77746

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

lib/app_configuration/widgets/user_limits_config_form.dart

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,10 @@ class _UserLimitsConfigFormState extends State<UserLimitsConfigForm>
109109
return Column(
110110
crossAxisAlignment: CrossAxisAlignment.start,
111111
children: [
112-
Padding(
113-
padding: const EdgeInsets.symmetric(horizontal: AppSpacing.lg),
114-
child: Text(
115-
l10n.userContentLimitsDescription,
116-
style: Theme.of(context).textTheme.bodySmall?.copyWith(
117-
color: Theme.of(context).colorScheme.onSurface.withOpacity(0.7),
118-
),
112+
Text(
113+
l10n.userContentLimitsDescription,
114+
style: Theme.of(context).textTheme.bodySmall?.copyWith(
115+
color: Theme.of(context).colorScheme.onSurface.withOpacity(0.7),
119116
),
120117
),
121118
const SizedBox(height: AppSpacing.lg),

0 commit comments

Comments
 (0)