Fix: user's avatar in the user page wasn't aligned properly

This commit is contained in:
VnPower
2023-06-12 20:08:32 +07:00
parent 718e10e44d
commit 3049f1f0a0
4 changed files with 9 additions and 5 deletions
+2
View File
@@ -364,6 +364,8 @@ body {
width: 144px;
height: 144px;
border-radius: 50%;
object-fit: cover;
object-position: center center;
}
.user-page .user-details .user-comment {
font-size: 0.9em;
+2
View File
@@ -423,6 +423,8 @@ body {
width: 144px;
height: 144px;
border-radius: 50%;
object-fit: cover;
object-position: center center;
}
.user-comment {
+3 -3
View File
@@ -1,6 +1,6 @@
{{ range . }} {{ if not (isEmpty .ID) }}
{{ range . }} {{ if .ID }}
<div class="artwork-thumbnail-small artwork-thumbnail">
{{ template "thumbnail-dt.html" . }} {{ template "thumbnail-tt.html" . }} {{
template "thumbnail-at.html" . }}
{{ include "thumbnail-dt" . }} {{ include "thumbnail-tt" . }} {{ include
"thumbnail-at" . }}
</div>
{{ end }} {{ end }}
+2 -2
View File
@@ -89,7 +89,7 @@
<div>{{ include "small-tn" Data.Artworks.Artworks }}</div>
<div class="pagination">
{{ if toInt (.Queries.Page) == 1 }}
{{ if toInt (Queries.Page) == 1 }}
<a href="#" class="pagination-button disabled">First</a>
<a href="#" class="pagination-button disabled">Previous</a>
{{ else }}
@@ -105,7 +105,7 @@
>
{{ end }}
<a href="#" class="pagination-button disabled">{{ .Queries.Page }}</a>
<a href="#" class="pagination-button disabled">{{ Queries.Page }}</a>
<a
href="/tags/{{ Tag.Name }}?category={{ Queries.Category }}&order={{ Queries.Order }}&mode={{ Queries.Mode }}&page={{ inc(toInt(Queries.Page)) }}"