Merge pull request #5406 from paulkaplan/fixup-studio-headers

Fixup header styling
This commit is contained in:
Paul Kaplan 2021-05-13 21:46:50 -04:00 committed by GitHub
commit 512b63dcae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 7 deletions

View file

@ -43,7 +43,8 @@
"studio.sharedFilter": "Shared",
"studio.favoritedFilter": "Favorited",
"studio.recentFilter": "Recent",
"studio.activityHeader": "Activity",
"studio.activityAddProjectToStudio": "{profileLink} added the project {projectLink}",
"studio.activityRemoveProjectStudio": "{profileLink} removed the project {projectLink}",
"studio.activityUpdateStudio": "{profileLink} made edits to the title, thumbnail, or description",

View file

@ -177,7 +177,9 @@ const StudioActivity = ({items, loading, error, moreToLoad, onLoadMore}) => {
return (
<div className="studio-activity">
<h2>Activity</h2>
<div className="studio-header-container">
<h2><FormattedMessage id="studio.activityHeader" /></h2>
</div>
{loading && <div>Loading...</div>}
{error && <Debug
label="Error"

View file

@ -20,7 +20,9 @@ const StudioCurators = ({
}, []);
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 />}
{showCuratorInvite && <CuratorInvite />}
{error && <Debug

View file

@ -17,7 +17,9 @@ const StudioManagers = ({items, error, loading, moreToLoad, onLoadMore}) => {
return (
<div className="studio-members">
<h2><FormattedMessage id="studio.managersHeader" /></h2>
<div className="studio-header-container">
<h2><FormattedMessage id="studio.managersHeader" /></h2>
</div>
{error && <Debug
label="Error"
data={error}

View file

@ -272,12 +272,12 @@ $radius: 8px;
flex-direction: row;
align-items: center;
justify-content: space-between;
padding-top: 30px;
padding-bottom: 30px;
padding-top: 20px;
padding-bottom: 10px;
}
.studio-compose-container {
padding-top: 20px;
padding-top: 8px;
}
.studio-empty {