Skip to content

Commit

Permalink
fix: added MainAxisSize.min to avatar column to regulate height
Browse files Browse the repository at this point in the history
  • Loading branch information
DE7924 committed Oct 28, 2024
1 parent 555afd6 commit 221b497
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion example/widgetbook/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ class _HotReloadState extends State<HotReload> {
ZetaAddon(),
InspectorAddon(enabled: false),
ZoomAddon(initialZoom: 1.0),
// min: 1, max: 2, divisions: 4,
TextScaleAddon(scales: [1, 1.25, 1.5, 1.75, 2], initialScale: 1),
],
);
Expand Down
1 change: 1 addition & 0 deletions lib/src/components/avatars/avatar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ class ZetaAvatar extends ZetaStatelessWidget {
value: semanticLabel,
child: SelectionContainer.disabled(
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Stack(
children: [
Expand Down

0 comments on commit 221b497

Please sign in to comment.