Skip to content

Commit

Permalink
fix(talk_app): Fix reactions overflow
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Nov 22, 2024
1 parent 17c0704 commit 117d7a1
Showing 1 changed file with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter_material_design_icons/flutter_material_design_icons.dart';
import 'package:intersperse/intersperse.dart';
import 'package:neon_framework/utils.dart';
import 'package:neon_framework/widgets.dart';
import 'package:nextcloud/spreed.dart' as spreed;
Expand Down Expand Up @@ -143,15 +142,11 @@ class TalkReactions extends StatelessWidget {
);
}

return Row(
mainAxisSize: MainAxisSize.min,
children: children
.intersperse(
const SizedBox(
width: 5,
),
)
.toList(),
return Wrap(
runAlignment: WrapAlignment.center,
spacing: 5,
runSpacing: 5,
children: children,
);
},
),
Expand Down

0 comments on commit 117d7a1

Please sign in to comment.