Page background matches selected theme for user pages

This commit is contained in:
Andrew Nicolaou 2019-06-04 14:30:10 +02:00 committed by Cassie Tarakajian
parent b16cb26a4b
commit 1f95718f58
2 changed files with 7 additions and 3 deletions

View File

@ -37,14 +37,14 @@ class AccountView extends React.Component {
render() {
return (
<React.Fragment>
<div className="user">
<Helmet>
<title>p5.js Web Editor | Account</title>
</Helmet>
<NavBasic />
<section className="modal user">
<section className="modal">
<div className="modal-content">
<div className="modal__header">
<h2 className="modal__title">My Account</h2>
@ -73,7 +73,7 @@ class AccountView extends React.Component {
</Tabs>
</div>
</section>
</React.Fragment>
</div>
);
}
}

View File

@ -1,4 +1,8 @@
.user {
display: flex;
flex-direction: column;
height: 100%;
flex-wrap: wrap;
@include themify() {
color: getThemifyVariable('primary-text-color');
background-color: getThemifyVariable('background-color');