chore: reduce padding around message in new trip page (#4335)

This commit is contained in:
ggurdin 2025-10-10 15:17:04 -04:00 committed by GitHub
parent 453338da01
commit 9ffb9abb9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -101,43 +101,39 @@ class NewTripPageState extends State<NewTripPage> with CourseSearchProvider {
child: loading
? const CircularProgressIndicator.adaptive()
: Center(
child: Padding(
padding: const EdgeInsets.all(32.0),
child: Column(
spacing: 12.0,
children: [
const BotFace(
expression: BotExpression.addled,
width: Avatar.defaultSize * 1.5,
child: Column(
spacing: 12.0,
children: [
const BotFace(
expression: BotExpression.addled,
width: Avatar.defaultSize * 1.5,
),
Text(
L10n.of(context).noCourseTemplatesFound,
textAlign: TextAlign.center,
style: theme.textTheme.bodyLarge,
),
ElevatedButton(
onPressed: () => context.go(
'/rooms',
),
Text(
L10n.of(context)
.noCourseTemplatesFound,
textAlign: TextAlign.center,
style: theme.textTheme.bodyLarge,
style: ElevatedButton.styleFrom(
backgroundColor: theme
.colorScheme.primaryContainer,
foregroundColor: theme
.colorScheme.onPrimaryContainer,
),
ElevatedButton(
onPressed: () => context.go(
'/rooms',
),
style: ElevatedButton.styleFrom(
backgroundColor: theme
.colorScheme.primaryContainer,
foregroundColor: theme
.colorScheme.onPrimaryContainer,
),
child: Row(
mainAxisAlignment:
MainAxisAlignment.center,
children: [
Text(
L10n.of(context).continueText,
),
],
),
child: Row(
mainAxisAlignment:
MainAxisAlignment.center,
children: [
Text(
L10n.of(context).continueText,
),
],
),
],
),
),
],
),
),
),