Ivan - Create Ticket Form - Fix layout issues [skip ci]

This commit is contained in:
ivan 2016-08-18 22:26:05 -03:00
parent 5527a46d5f
commit 569fd3556d
4 changed files with 22 additions and 17 deletions

View File

@ -10,9 +10,11 @@ class DashboardLayout extends React.Component {
return (this.props.session.logged) ? (
<div className="dashboard">
<div className="dashboard__menu col-md-3"><DashboardMenu location={this.props.location} /></div>
<Widget className="dashboard__content col-md-9">
{this.props.children}
</Widget>
<div className="dashboard__content col-md-9">
<Widget>
{this.props.children}
</Widget>
</div>
</div>
) : null;
}

View File

@ -1,9 +1,5 @@
.dashboard {
&__menu {
}
&__content {
margin-bottom: 10px;
}
}

View File

@ -4,15 +4,19 @@ import MainHomePageLoginWidget from 'app/main/main-home/main-home-page-login-wid
import MainHomePagePortal from 'app/main/main-home/main-home-page-portal';
class MainHomePage extends React.Component {
render() {
return (
<div className="main-home-page">
<MainHomePageLoginWidget className="col-md-4" />
<MainHomePagePortal className="col-md-8" />
</div>
);
}
render() {
return (
<div className="main-home-page">
<div className="col-md-4">
<MainHomePageLoginWidget />
</div>
<div className="col-md-8">
<MainHomePagePortal />
</div>
</div>
);
}
}
export default MainHomePage;

View File

@ -38,6 +38,9 @@ class FormField extends React.Component {
else if (field === 'textarea') {
return EditorState.createEmpty();
}
else if (field === 'select') {
return 0;
}
}
render() {