Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit ceab824

Browse files
Merge pull request #1265 from johanbove/patch-2
Fixes rectangle Avatar image in Profile view
2 parents 41b9b2d + da4889c commit ceab824

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

styles/base/picker.mcss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Picker {
88
height: 50px
99
display: block
1010
border-radius: 5px
11+
object-fit: cover
1112
}
1213
}
1314
span.add {

styles/base/profile-header.mcss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ ProfileHeader {
66
width: 200px
77
max-height: 200px
88
margin-right: 20px
9-
img {
9+
.Avatar {
10+
border-radius: 5px
1011
width: 100%
11-
order-radius: 5px
12+
height: 100%
13+
object-fit: cover
1214
}
1315
}
1416
div.main {

0 commit comments

Comments
 (0)