mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 09:35:56 -05:00
improved remix and studio row
This commit is contained in:
parent
ba919062f3
commit
79e80aea54
4 changed files with 16 additions and 11 deletions
|
@ -16,11 +16,8 @@
|
|||
|
||||
.thumbnail {
|
||||
margin: 7px;
|
||||
// adding the following commented lines to thumbnail-image
|
||||
// border-radius: 4px;
|
||||
// box-shadow: 0 0 0 1px $active-gray;
|
||||
// background-color: $ui-white;
|
||||
padding-bottom: 4px;
|
||||
// unnecessary:
|
||||
// padding-bottom: 4px;
|
||||
width: $thumbnail-width;
|
||||
|
||||
.thumbnail-image {
|
||||
|
|
|
@ -486,8 +486,16 @@ $stage-width: 480px;
|
|||
.studio-list {
|
||||
flex-direction: column;
|
||||
|
||||
h2 {
|
||||
align-self: flex-start;
|
||||
margin-left: 1rem;
|
||||
font-size: 1.2rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.project {
|
||||
margin-bottom: 1.5rem;
|
||||
// not necessary:
|
||||
// margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.creator-image img {
|
||||
|
|
|
@ -9,9 +9,9 @@ const RemixList = props => {
|
|||
if (remixes.length === 0) return null;
|
||||
return (
|
||||
<FlexRow className="remix-list">
|
||||
<div className="project-title">
|
||||
<h2>
|
||||
Remixes
|
||||
</div>
|
||||
</h2>
|
||||
{remixes.length === 0 ? (
|
||||
// TODO: style remix invitation
|
||||
<span>Invite user to remix</span>
|
||||
|
|
|
@ -8,10 +8,10 @@ const StudioList = props => {
|
|||
const studios = props.studios;
|
||||
if (studios.length === 0) return null;
|
||||
return (
|
||||
<FlexRow className="remix-list">
|
||||
<div className="project-title">
|
||||
<FlexRow className="studio-list">
|
||||
<h2>
|
||||
Studios
|
||||
</div>
|
||||
</h2>
|
||||
{studios.length === 0 ? (
|
||||
// TODO: style remix invitation
|
||||
<span>Invite user to add to studio</span>
|
||||
|
|
Loading…
Reference in a new issue