static-fe: don’t squeeze non-square images #705

Merged
floatingghost merged 2 commits from Oneric/akkoma:staticfe-nonsquare-img into develop 2024-04-11 18:43:04 +00:00
Showing only changes of commit a0daec6ea1 - Show all commits

View file

@ -117,6 +117,7 @@ .inner-nav a {
.inner-nav img { .inner-nav img {
height: 28px; height: 28px;
width: auto;
vertical-align: middle; vertical-align: middle;
padding-right: 5px padding-right: 5px
} }
@ -642,13 +643,13 @@ @media (max-width: 800px) {
} }
img:not(.u-photo, .fa-icon) { img:not(.u-photo, .fa-icon) {
width: 32px; width: auto;
height: 32px; height: 32px;
padding: 0; padding: 0;
vertical-align: middle; vertical-align: middle;
} }
.username img:not(.u-photo) { .username img:not(.u-photo) {
width: 16px; width: auto;
height: 16px; height: 16px;
} }