mirror of
https://codeberg.org/VnPower/PixivFE
synced 2024-12-06 19:16:23 +01:00
Fix: user's avatar in the user page wasn't aligned properly
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -423,6 +423,8 @@ body {
|
||||
width: 144px;
|
||||
height: 144px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
object-position: center center;
|
||||
}
|
||||
|
||||
.user-comment {
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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)) }}"
|
||||
|
||||
Reference in New Issue
Block a user