mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
Merge pull request #5406 from paulkaplan/fixup-studio-headers
Fixup header styling
This commit is contained in:
commit
512b63dcae
5 changed files with 14 additions and 7 deletions
|
@ -43,7 +43,8 @@
|
||||||
"studio.sharedFilter": "Shared",
|
"studio.sharedFilter": "Shared",
|
||||||
"studio.favoritedFilter": "Favorited",
|
"studio.favoritedFilter": "Favorited",
|
||||||
"studio.recentFilter": "Recent",
|
"studio.recentFilter": "Recent",
|
||||||
|
|
||||||
|
"studio.activityHeader": "Activity",
|
||||||
"studio.activityAddProjectToStudio": "{profileLink} added the project {projectLink}",
|
"studio.activityAddProjectToStudio": "{profileLink} added the project {projectLink}",
|
||||||
"studio.activityRemoveProjectStudio": "{profileLink} removed the project {projectLink}",
|
"studio.activityRemoveProjectStudio": "{profileLink} removed the project {projectLink}",
|
||||||
"studio.activityUpdateStudio": "{profileLink} made edits to the title, thumbnail, or description",
|
"studio.activityUpdateStudio": "{profileLink} made edits to the title, thumbnail, or description",
|
||||||
|
|
|
@ -177,7 +177,9 @@ const StudioActivity = ({items, loading, error, moreToLoad, onLoadMore}) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="studio-activity">
|
<div className="studio-activity">
|
||||||
<h2>Activity</h2>
|
<div className="studio-header-container">
|
||||||
|
<h2><FormattedMessage id="studio.activityHeader" /></h2>
|
||||||
|
</div>
|
||||||
{loading && <div>Loading...</div>}
|
{loading && <div>Loading...</div>}
|
||||||
{error && <Debug
|
{error && <Debug
|
||||||
label="Error"
|
label="Error"
|
||||||
|
|
|
@ -20,7 +20,9 @@ const StudioCurators = ({
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (<div className="studio-members">
|
return (<div className="studio-members">
|
||||||
<h2><FormattedMessage id="studio.curatorsHeader" /></h2>
|
<div className="studio-header-container">
|
||||||
|
<h2><FormattedMessage id="studio.curatorsHeader" /></h2>
|
||||||
|
</div>
|
||||||
{canInviteCurators && <CuratorInviter />}
|
{canInviteCurators && <CuratorInviter />}
|
||||||
{showCuratorInvite && <CuratorInvite />}
|
{showCuratorInvite && <CuratorInvite />}
|
||||||
{error && <Debug
|
{error && <Debug
|
||||||
|
|
|
@ -17,7 +17,9 @@ const StudioManagers = ({items, error, loading, moreToLoad, onLoadMore}) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="studio-members">
|
<div className="studio-members">
|
||||||
<h2><FormattedMessage id="studio.managersHeader" /></h2>
|
<div className="studio-header-container">
|
||||||
|
<h2><FormattedMessage id="studio.managersHeader" /></h2>
|
||||||
|
</div>
|
||||||
{error && <Debug
|
{error && <Debug
|
||||||
label="Error"
|
label="Error"
|
||||||
data={error}
|
data={error}
|
||||||
|
|
|
@ -272,12 +272,12 @@ $radius: 8px;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-top: 30px;
|
padding-top: 20px;
|
||||||
padding-bottom: 30px;
|
padding-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.studio-compose-container {
|
.studio-compose-container {
|
||||||
padding-top: 20px;
|
padding-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.studio-empty {
|
.studio-empty {
|
||||||
|
|
Loading…
Reference in a new issue