mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 17:51:16 +01:00
Fix width of modal.
This commit is contained in:
parent
866f8d034a
commit
f9c230414e
2 changed files with 5 additions and 1 deletions
|
@ -85,7 +85,7 @@ class SettingsModal extends React.Component {
|
||||||
onOpenToggle={this.props.onOpenToggle}
|
onOpenToggle={this.props.onOpenToggle}
|
||||||
title={'Style Settings'}
|
title={'Style Settings'}
|
||||||
>
|
>
|
||||||
<div style={{minWidth: 350}}>
|
<div className="modal-settings">
|
||||||
<InputBlock label={"Name"} doc={latest.$root.name.doc}>
|
<InputBlock label={"Name"} doc={latest.$root.name.doc}>
|
||||||
<StringInput {...inputProps}
|
<StringInput {...inputProps}
|
||||||
data-wd-key="modal-settings.name"
|
data-wd-key="modal-settings.name"
|
||||||
|
|
|
@ -280,3 +280,7 @@
|
||||||
color: $color-green;
|
color: $color-green;
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modal-settings {
|
||||||
|
width: 400px;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue