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

@ -44,6 +44,7 @@
"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",

View file

@ -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"

View file

@ -20,7 +20,9 @@ const StudioCurators = ({
}, []); }, []);
return (<div className="studio-members"> return (<div className="studio-members">
<div className="studio-header-container">
<h2><FormattedMessage id="studio.curatorsHeader" /></h2> <h2><FormattedMessage id="studio.curatorsHeader" /></h2>
</div>
{canInviteCurators && <CuratorInviter />} {canInviteCurators && <CuratorInviter />}
{showCuratorInvite && <CuratorInvite />} {showCuratorInvite && <CuratorInvite />}
{error && <Debug {error && <Debug

View file

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

View file

@ -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 {