Make user profile image show full image on mobile (#19840)

* Make user profile image show full image on mobile
This commit is contained in:
Eekle 2022-06-10 12:06:34 +01:00 committed by GitHub
parent 52c2e82813
commit 4f1fb0f697
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 13 deletions

View file

@ -44,27 +44,20 @@
}
}
}
#profile-avatar {
background: none;
padding: 1rem 1rem .25rem;
justify-content: center;
img {
width: 100%;
height: auto;
object-fit: contain;
margin: 0;
}
@media @mediaSm {
height: 250px;
overflow: hidden;
img {
max-height: 767px;
max-width: 767px;
@media @mediaSm {
width: 30vw;
}
}
}
@media @mediaSm {