center div

This commit is contained in:
akastijn 2025-10-24 22:16:58 +02:00
parent 7be3b6f9d3
commit d075464ded
2 changed files with 6 additions and 1 deletions

View File

@ -42,7 +42,7 @@
</section>
<section class="voteSection">
@if (voteStats) {
<div class="center">
<div class="centered">
<p>You have voted {{ voteStats.voteStats.total }} times and {{ voteStats.voteStats.weekly }} this week. You
are
on a {{ voteStats.voteStreak.dailyStreak }} day vote streak!</p>

View File

@ -155,6 +155,11 @@ time, mark, audio, video {
justify-content: center;
}
.centered {
margin-left: auto;
margin-right: auto;
}
/* flex end */
/* main css */