Improve statistics spacing on user page

This commit is contained in:
jvyden 2021-11-22 22:30:34 -05:00
commit e4262ebb35
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
2 changed files with 14 additions and 5 deletions

View file

@ -9,11 +9,11 @@
<h1>@Model.ProfileUser!.Username's user page</h1>
<div>
<i class="pink heart icon" title="Hearts"></i> @Model.ProfileUser.Hearts
<i class="blue comment icon" title="Comments"></i> @Model.ProfileUser.Comments
<i class="green upload icon" title="Uploaded Levels"></i>@Model.ProfileUser.UsedSlots / @ServerStatics.EntitledSlots
<i class="purple camera icon" title="Uploaded Photos"></i>@Model.ProfileUser.PhotosByMe
<div class="userStats">
<i class="pink heart icon" title="Hearts"></i> <span>@Model.ProfileUser.Hearts</span>
<i class="blue comment icon" title="Comments"></i> <span>@Model.ProfileUser.Comments</span>
<i class="green upload icon" title="Uploaded Levels"></i><span>@Model.ProfileUser.UsedSlots / @ServerStatics.EntitledSlots</span>
<i class="purple camera icon" title="Uploaded Photos"></i><span>@Model.ProfileUser.PhotosByMe</span>
</div>
<div class="ui blue segment">

View file

@ -7,3 +7,12 @@ div.pageContainer {
div.main {
flex: 1;
}
div.userStats > i {
margin-right: 2px;
}
div.userStats > span {
margin-right: 5px;
}