diff options
author | RayHammer <evkondratyev@yandex.ru> | 2022-10-24 18:44:26 +0200 |
---|---|---|
committer | RayHammer <evkondratyev@yandex.ru> | 2022-10-24 18:44:26 +0200 |
commit | b89a40003d55b9d458f00347be882f616aa4bbec (patch) | |
tree | d94cd15eaf6c4c054e352859a444d139f631acdf | |
parent | 09a86ce1b9d33d4399ee21b13f75d08dd9d8468c (diff) |
Fixed side menu to follow best practices
-rw-r--r-- | themes/stingray/layouts/partials/aside.html | 2 | ||||
-rw-r--r-- | themes/stingray/static/css/main.css | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/themes/stingray/layouts/partials/aside.html b/themes/stingray/layouts/partials/aside.html index 176e9b0..7fb4aff 100644 --- a/themes/stingray/layouts/partials/aside.html +++ b/themes/stingray/layouts/partials/aside.html @@ -1,7 +1,7 @@ <aside id="card"> <div class="h-card text-center"> <a class="u-url u-uid" href="https://rayhammer.dev" rel="me"> - <img class="u-photo" src="/img/rayhammer.jpg"> + <img class="u-photo" src="/img/rayhammer.jpg" alt="h-card photo"> </a> <p> <span class="p-nickname">RayHammer</span> diff --git a/themes/stingray/static/css/main.css b/themes/stingray/static/css/main.css index 76f7ef0..a374354 100644 --- a/themes/stingray/static/css/main.css +++ b/themes/stingray/static/css/main.css @@ -19,6 +19,7 @@ } #card .u-photo { + aspect-ratio: 1; width: 100%; height: auto; object-fit: contain; |