From d075464ded8fc1fb57ed6d162940cf4a08dec7c7 Mon Sep 17 00:00:00 2001 From: akastijn Date: Fri, 24 Oct 2025 22:16:58 +0200 Subject: [PATCH] center div --- frontend/src/app/pages/vote/vote.component.html | 2 +- frontend/src/styles.scss | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/pages/vote/vote.component.html b/frontend/src/app/pages/vote/vote.component.html index ab5a004..1249062 100644 --- a/frontend/src/app/pages/vote/vote.component.html +++ b/frontend/src/app/pages/vote/vote.component.html @@ -42,7 +42,7 @@
@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!

diff --git a/frontend/src/styles.scss b/frontend/src/styles.scss index b742acd..019917a 100644 --- a/frontend/src/styles.scss +++ b/frontend/src/styles.scss @@ -155,6 +155,11 @@ time, mark, audio, video { justify-content: center; } +.centered { + margin-left: auto; + margin-right: auto; +} + /* flex end */ /* main css */