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
a4e7ee35e4
commit
4f3d77f42a
2 changed files with 18 additions and 6 deletions
|
@ -87,7 +87,7 @@ const PreviewPresentation = ({
|
|||
{ projectInfo && projectInfo.author && projectInfo.author.id && (
|
||||
<Formsy onKeyPress={onKeyPress}>
|
||||
<div className="inner">
|
||||
<FlexRow className="preview-row">
|
||||
<FlexRow className="preview-row force-row">
|
||||
<FlexRow className="project-header">
|
||||
<a href={`/users/${projectInfo.author.username}`}>
|
||||
<Avatar
|
||||
|
@ -125,7 +125,7 @@ const PreviewPresentation = ({
|
|||
}
|
||||
</div>
|
||||
</FlexRow>
|
||||
<MediaQuery minWidth={frameless.tablet}>
|
||||
<MediaQuery minWidth={frameless.mobile}>
|
||||
<div className="project-buttons">
|
||||
{/* TODO: Hide Remix button for now until implemented */}
|
||||
{(!userOwnsProject && false) &&
|
||||
|
@ -359,10 +359,12 @@ const PreviewPresentation = ({
|
|||
}
|
||||
</FlexRow>
|
||||
</div>
|
||||
<FlexRow className="column">
|
||||
<RemixList remixes={remixes} />
|
||||
<StudioList studios={projectStudios} />
|
||||
</FlexRow>
|
||||
<MediaQuery minWidth={frameless.mobile}>
|
||||
<FlexRow className="column">
|
||||
<RemixList remixes={remixes} />
|
||||
<StudioList studios={projectStudios} />
|
||||
</FlexRow>
|
||||
</MediaQuery>
|
||||
</FlexRow>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -154,6 +154,10 @@ $medium-and-small: "screen and (max-width : #{$tablet}-1)";
|
|||
|
||||
.comments-container {
|
||||
width: 65%;
|
||||
|
||||
@media #{$medium-and-small} {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.remix-button,
|
||||
|
@ -195,6 +199,12 @@ $medium-and-small: "screen and (max-width : #{$tablet}-1)";
|
|||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
flex-wrap: nowrap;
|
||||
|
||||
&.force-row {
|
||||
@media #{$medium-and-small} {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.guiPlayer {
|
||||
|
|
Loading…
Reference in a new issue