Skip to content

Commit

Permalink
Merge pull request #2674 from nextcloud/fix/talk_app/reactions-overflow
Browse files Browse the repository at this point in the history
fix(talk_app): Fix reactions overflow
  • Loading branch information
provokateurin authored Dec 7, 2024
2 parents 8e32ee9 + 117d7a1 commit 5f30cbe
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 5f30cbe

Please sign in to comment.