Make user profile image show full image on mobile (#19840)
* Make user profile image show full image on mobile
This commit is contained in:
parent
52c2e82813
commit
4f1fb0f697
2 changed files with 8 additions and 13 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue