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 authored and GitHub committed 2022-06-10 19:06:34 +08:00
1 parent 52c2e82813
commit 4f1fb0f697
2 files changed
+8 -13

No files matched your search

+4 -11
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 {