From cf7330321860fe2b0ae50ef18b12f6ab9c6dfc65 Mon Sep 17 00:00:00 2001 From: akastijn Date: Fri, 24 Oct 2025 22:18:19 +0200 Subject: [PATCH] center div --- frontend/src/app/pages/vote/vote.component.html | 10 ++++++---- frontend/src/styles.scss | 4 ++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/frontend/src/app/pages/vote/vote.component.html b/frontend/src/app/pages/vote/vote.component.html index 1249062..413591a 100644 --- a/frontend/src/app/pages/vote/vote.component.html +++ b/frontend/src/app/pages/vote/vote.component.html @@ -42,10 +42,12 @@
@if (voteStats) { -
-

You have voted {{ voteStats.voteStats.total }} times and {{ voteStats.voteStats.weekly }} this week. You - are - on a {{ voteStats.voteStreak.dailyStreak }} day vote streak!

+
+
+

You have voted {{ voteStats.voteStats.total }} times and {{ voteStats.voteStats.weekly }} this week. You + are + on a {{ voteStats.voteStreak.dailyStreak }} day vote streak!

+
}
diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index 019917a..92f7fb1 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -155,6 +155,10 @@ time, mark, audio, video { justify-content: center; } +.full-width { + width: 100%; +} + .centered { margin-left: auto; margin-right: auto;