UX: Consistent profile image positioning on desktop and mobile

This commit is contained in:
Kris 2019-04-01 22:04:11 -04:00
parent d8704c11ca
commit 254de64df7
3 changed files with 9 additions and 6 deletions

View File

@ -101,6 +101,14 @@
width: 100%;
margin-bottom: 15px;
&.has-background {
.user-profile-image {
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}
}
.secondary {
display: inline-block;
width: 100%;

View File

@ -151,8 +151,6 @@
&.has-background {
.user-profile-image {
height: 300px;
background-size: cover;
background-repeat: no-repeat;
}
.details {
box-sizing: border-box;

View File

@ -132,12 +132,9 @@
&.has-background {
.user-profile-image {
height: 200px;
background-size: contain;
background-position: top center;
background-repeat: no-repeat;
}
.user-profile-avatar {
margin-top: s(-24);
margin-top: s(-15);
}
}