mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-17 10:39:17 +00:00
Merge pull request 'static-fe: don’t squeeze non-square images' (#705) from Oneric/akkoma:staticfe-nonsquare-img into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/705
This commit is contained in:
commit
090a77d1af
|
@ -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
|
||||||
}
|
}
|
||||||
|
@ -440,6 +441,7 @@ .user-info .avatar img {
|
||||||
.avatar img {
|
.avatar img {
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
box-shadow: var(--avatarShadow);
|
box-shadow: var(--avatarShadow);
|
||||||
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-summary {
|
.user-summary {
|
||||||
|
@ -642,13 +644,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;
|
||||||
}
|
}
|
Loading…
Reference in a new issue