Fix nav icon sizing

This commit is contained in:
hedy 2023-06-25 17:15:49 +08:00
parent 2821e8108e
commit 03368065a4
Signed by: hedy
GPG Key ID: B51B5A8D1B176372
2 changed files with 7 additions and 1 deletions

View File

@ -104,6 +104,11 @@ h1 .pfp {
vertical-align: text-top;
}
nav .pfp {
height: 1.3rem;
vertical-align: middle;
}
.pfp {
border: 1px solid var(--border);

View File

@ -1,2 +1,3 @@
{{ $pfp := resources.Get "/dotslash-brush.svg" | resources.Fingerprint "md5" -}}
<img alt="./" class="pfp" width="32" height="32" src="{{ $pfp.Permalink }}">
<img alt="./" class="pfp" src="{{ $pfp.Permalink }}">
{# should this set a default size? #}