center div

This commit is contained in:
akastijn 2025-10-24 22:18:19 +02:00
parent d075464ded
commit cf73303218
2 changed files with 10 additions and 4 deletions

View File

@ -42,10 +42,12 @@
</section>
<section class="voteSection">
@if (voteStats) {
<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>
<div class="full-width">
<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>
</div>
</div>
}
<div class="container voteContainer">

View File

@ -155,6 +155,10 @@ time, mark, audio, video {
justify-content: center;
}
.full-width {
width: 100%;
}
.centered {
margin-left: auto;
margin-right: auto;