more menu

This commit is contained in:
ntr 2019-04-26 13:23:30 +10:00
parent 95e5d493af
commit 2889e388e4
3 changed files with 46 additions and 34 deletions

View File

@ -289,16 +289,31 @@ header {
} }
.menu-instance-btn { .menu-instance-btn {
box-sizing: border-box;
flex: 1 1 100%; flex: 1 1 100%;
font-size: 1.5em; font-size: 1.2em;
border-width: 2px; }
padding: 0.5em;
margin-right: 0.5em; .create-form {
flex: 1;
display: flex;
flex-flow: row wrap;
justify-content: space-between;
align-items: flex-start;
border: 1px solid whitesmoke;
padding: 1em;
margin-bottom: 1.5em;
}
.create-form select, .create-form input, .create-form label {
margin: 0;
} }
.create-form button { .create-form button {
flex: 0 1 25%;
font-size: 1.5em;
display: block; display: block;
margin-bottom: 0;
} }
/* /*
@ -415,6 +430,7 @@ header {
table { table {
table-layout: fixed; table-layout: fixed;
width: 100%; width: 100%;
margin-bottom: 2em;
} }
table td { table td {

View File

@ -51,10 +51,7 @@ class InstanceCreateForm extends Component {
render() { render() {
return ( return (
<div
className="">
<div className="create-form"> <div className="create-form">
<div>+</div>
<label>instance name</label> <label>instance name</label>
<input <input
className="login-input" className="login-input"
@ -76,10 +73,9 @@ class InstanceCreateForm extends Component {
<button <button
onClick={this.handleSubmit} onClick={this.handleSubmit}
type="submit"> type="submit">
create +
</button> </button>
</div> </div>
</div>
); );
} }
} }

View File

@ -80,8 +80,8 @@ function Menu(args) {
{instancePanels} {instancePanels}
</tbody> </tbody>
</table> </table>
{mmSet}
<InstanceCreateForm /> <InstanceCreateForm />
{mmSet}
</section> </section>
); );
} }