Skip to content

Commit

Permalink
Quiz Scoreboard max width
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabi-02 committed Jan 16, 2024
1 parent 2d4dd69 commit d9d2212
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions frontend/lib/pages/quiz/quiz_control_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,15 @@ class _QuizControlPageState extends State<QuizControlPage> {
style: Theme.of(context).textTheme.headlineMedium,
),
const SizedBox(height: 16),
Card(
child: Padding(
padding: const EdgeInsets.all(8),
child: QuizScoreboard(scoreboard: _scoreboard),
Center(
child: Container(
constraints: const BoxConstraints(maxWidth: 800),
child: Card(
child: Padding(
padding: const EdgeInsets.all(8),
child: QuizScoreboard(scoreboard: _scoreboard),
),
),
),
),
const SizedBox(height: 16),
Expand Down

0 comments on commit d9d2212

Please sign in to comment.