Skip to content

Commit

Permalink
Merge pull request #111 from SchweizerischeBundesbahnen/feature/messa…
Browse files Browse the repository at this point in the history
…ge-limit-size

feature/message-limit-size
  • Loading branch information
VanHoangTran authored May 30, 2024
2 parents ec2a6a1 + a9333de commit f235d87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ It is expected that you keep this format strictly, since we depend on it in our
### Changed

- (#118) Changed the test flow to include CHANGELOG.md validation.
- (#111) `SBBMessage`: Make `SBBMessage` only as big as needed to prevent content being pushed on top.

### Fixed

Expand Down
1 change: 1 addition & 0 deletions lib/src/message/sbb_message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ class SBBMessage extends StatelessWidget {
return Padding(
padding: const EdgeInsets.all(sbbDefaultSpacing),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
if (isLoading) _loadingIndicator(context),
if (!isLoading) customIllustration ?? _defaultIllustration(context),
Expand Down

0 comments on commit f235d87

Please sign in to comment.