Merge pull request #607 from sharetribe/profile-page-dr

Profile page dr
This commit is contained in:
Hannu Lyytikäinen 2017-12-20 13:20:38 +02:00 committed by GitHub
commit 108ba81474
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 8 deletions

View file

@ -35,7 +35,7 @@
padding: 24px;
@media (--viewportLarge) {
padding: 118px 15vw 82px 82px;
padding: 116px 15vw 82px 82px;
background-color: var(--matterColorLight);
border-left-width: 1px;
border-left-style: solid;

View file

@ -14,7 +14,7 @@
box-shadow: var(--boxShadow);
@media (--viewportLarge) {
padding: 113px 0 82px 15vw;
padding: 112px 0 82px 15vw;
flex-direction: column;
justify-content: flex-start;
border: none;

View file

@ -4,7 +4,7 @@
margin: 0;
}
li {
.reviewItem {
margin-bottom: 32px;
&:last-of-type {

View file

@ -54,7 +54,7 @@ const ReviewsComponent = props => {
<ul className={classes}>
{reviews.map(r => {
return (
<li key={`Review_${r.id.uuid}`}>
<li key={`Review_${r.id.uuid}`} className={css.reviewItem}>
<Review review={r} intl={intl} />
</li>
);

View file

@ -86,8 +86,6 @@
.bio {
/* Preserve newlines, but collapse other whitespace */
white-space: pre-line;
max-width: 563px;
margin: 5px 0 24px 0;
@media (--viewportMedium) {
@ -95,6 +93,7 @@
}
@media (--viewportLarge) {
margin: 0 0 56px 0;
max-width: 600px;
}
}
@ -118,7 +117,8 @@
margin-bottom: 0;
}
@media (--viewportLarge) {
margin-top: 19px;
margin-top: 58px;
margin-bottom: 8px;
}
}
@ -158,10 +158,11 @@
}
/* Vertical space */
margin-top: 41px;
margin-top: 0;
&:nth-of-type(1),
&:nth-of-type(2) {
margin-top: 20px;
margin-bottom: 36px;
}
}
}
@ -174,6 +175,10 @@
.desktopReviews {
margin-top: 28px;
@media (--viewportLarge) {
max-width: 600px;
}
}
.desktopReviewsTitle {