Skip to content

Commit

Permalink
fix: legend overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesvedder committed Aug 12, 2024
1 parent 789f778 commit 491cb51
Showing 1 changed file with 11 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,17 @@ class ParticipantLegend extends StatelessWidget {
style: const TextStyle(fontWeight: FontWeight.bold),
),
const SizedBox(height: 8.0),
Row(
children: [
_buildLegendItem(
color: completeColor,
tr.participant_details_color_legend_completed,
tr.participant_details_completed_legend_tooltip,
),
const SizedBox(width: 16.0),
_buildLegendItem(
color: partiallyCompleteColor,
tr.participant_details_color_legend_partially_completed,
tr.participant_details_partially_completed_legend_tooltip,
gradient: true,
),
],
_buildLegendItem(
color: completeColor,
tr.participant_details_color_legend_completed,
tr.participant_details_completed_legend_tooltip,
),
const SizedBox(width: 16.0),
_buildLegendItem(
color: partiallyCompleteColor,
tr.participant_details_color_legend_partially_completed,
tr.participant_details_partially_completed_legend_tooltip,
gradient: true,
),
const SizedBox(height: 16.0),
_buildLegendItem(
Expand Down

0 comments on commit 491cb51

Please sign in to comment.