Fix width of modal.

This commit is contained in:
orangemug 2019-10-27 18:54:40 +00:00
parent 866f8d034a
commit f9c230414e
2 changed files with 5 additions and 1 deletions

View file

@ -85,7 +85,7 @@ class SettingsModal extends React.Component {
onOpenToggle={this.props.onOpenToggle}
title={'Style Settings'}
>
<div style={{minWidth: 350}}>
<div className="modal-settings">
<InputBlock label={"Name"} doc={latest.$root.name.doc}>
<StringInput {...inputProps}
data-wd-key="modal-settings.name"

View file

@ -280,3 +280,7 @@
color: $color-green;
margin-top: 16px;
}
.modal-settings {
width: 400px;
}