mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 09:35:56 -05:00
some fixes and adapted remix and studio thumbnails
This commit is contained in:
parent
6b2ddcd217
commit
6445c7471e
2 changed files with 13 additions and 9 deletions
|
@ -84,7 +84,7 @@ const PreviewPresentation = ({
|
||||||
{ projectInfo && projectInfo.author && projectInfo.author.id && (
|
{ projectInfo && projectInfo.author && projectInfo.author.id && (
|
||||||
<Formsy onKeyPress={onKeyPress}>
|
<Formsy onKeyPress={onKeyPress}>
|
||||||
<div className="inner">
|
<div className="inner">
|
||||||
<FlexRow className="preview-row">
|
<FlexRow className="preview-row force-row">
|
||||||
<FlexRow className="project-header">
|
<FlexRow className="project-header">
|
||||||
<a href={`/users/${projectInfo.author.username}`}>
|
<a href={`/users/${projectInfo.author.username}`}>
|
||||||
<Avatar
|
<Avatar
|
||||||
|
@ -354,10 +354,12 @@ const PreviewPresentation = ({
|
||||||
}
|
}
|
||||||
</FlexRow>
|
</FlexRow>
|
||||||
</div>
|
</div>
|
||||||
<FlexRow className="column">
|
<MediaQuery minWidth={frameless.mobile}>
|
||||||
<RemixList remixes={remixes} />
|
<FlexRow className="column">
|
||||||
<StudioList studios={projectStudios} />
|
<RemixList remixes={remixes} />
|
||||||
</FlexRow>
|
<StudioList studios={projectStudios} />
|
||||||
|
</FlexRow>
|
||||||
|
</MediaQuery>
|
||||||
</FlexRow>
|
</FlexRow>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -87,10 +87,6 @@ $medium-and-small: "screen and (max-width : #{$tablet}-1)";
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-size: .8rem;
|
font-size: .8rem;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|
||||||
@media #{$medium-and-small} {
|
|
||||||
min-width: 100%;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.validation-message {
|
.validation-message {
|
||||||
|
@ -203,6 +199,12 @@ $medium-and-small: "screen and (max-width : #{$tablet}-1)";
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
|
|
||||||
|
&.force-row {
|
||||||
|
@media #{$medium-and-small} {
|
||||||
|
flex-direction: row;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.guiPlayer {
|
.guiPlayer {
|
||||||
|
|
Loading…
Reference in a new issue