fix alignment of remix credit avatar, text

This commit is contained in:
Ben Wheeler 2019-05-15 11:53:43 -04:00
parent b2d5bbcb93
commit 974203d325

View file

@ -129,9 +129,10 @@ $stage-width: 480px;
height: 3rem; height: 3rem;
&.remix { &.remix {
margin-right: .5em; margin-right: .75em;
width: 2rem; width: 2rem;
height: 2rem; height: 2rem;
align-self: flex-start;
} }
} }
} }
@ -403,8 +404,12 @@ $stage-width: 480px;
width: 100%; width: 100%;
} }
> .description-block:first-child { > * {
margin-top: 1rem; margin-bottom: .75rem;
}
> .description-block:last-child {
margin-bottom: 0;
} }
} }
@ -413,10 +418,11 @@ $stage-width: 480px;
border: 1px solid $ui-blue-10percent; border: 1px solid $ui-blue-10percent;
border-radius: 8px; border-radius: 8px;
background-color: $ui-blue-10percent; background-color: $ui-blue-10percent;
padding: .5rem; padding: .75rem;
width: calc(100% - 1rem); width: calc(100% - 1.5rem);
flex-wrap: nowrap; flex-wrap: nowrap;
align-items: center; align-items: center;
justify-content: flex-start;
@media #{$medium-and-smaller} { @media #{$medium-and-smaller} {
flex-direction: row; flex-direction: row;
@ -427,15 +433,15 @@ $stage-width: 480px;
.credit-text { .credit-text {
font-size: .875rem; font-size: .875rem;
flex-shrink: 1; flex-shrink: 1;
text-align: left;
} }
.description-block { .description-block {
display: flex; display: flex;
width: 100%; width: 100%;
min-height: 0; height: 100%;
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: flex-start;
flex: 1;
} }
.project-textlabel { .project-textlabel {
@ -465,12 +471,13 @@ $stage-width: 480px;
.project-description-form { .project-description-form {
display: flex; display: flex;
width: 100%; width: 100%;
height: 100%;
min-height: 2rem;
flex-grow: 1; flex-grow: 1;
} }
.project-description-edit { .project-description-edit {
display: flex; display: flex;
margin-bottom: .75rem;
border: 1px solid $ui-blue-10percent; border: 1px solid $ui-blue-10percent;
border-radius: 8px; border-radius: 8px;
background-color: $ui-blue-10percent; background-color: $ui-blue-10percent;