Ivan - Create Ticket Form - Fix layout issues [skip ci]
This commit is contained in:
parent
5527a46d5f
commit
569fd3556d
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
.dashboard {
|
||||
&__menu {
|
||||
|
||||
}
|
||||
|
||||
&__content {
|
||||
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
|
@ -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;
|
|
@ -38,6 +38,9 @@ class FormField extends React.Component {
|
|||
else if (field === 'textarea') {
|
||||
return EditorState.createEmpty();
|
||||
}
|
||||
else if (field === 'select') {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
|
|
Loading…
Reference in New Issue