New: Increase width of preferred word keys when editing

Closes #4689
pull/4720/head
Mark McDowall 3 years ago
parent a97e83ea4d
commit f58a2389bd

@ -8,8 +8,13 @@
} }
} }
.inputWrapper { .keyInputWrapper {
flex: 6 0 0;
}
.valueInputWrapper {
flex: 1 0 0; flex: 1 0 0;
min-width: 40px;
} }
.buttonWrapper { .buttonWrapper {

@ -63,7 +63,7 @@ class KeyValueListInputItem extends Component {
return ( return (
<div className={styles.itemContainer}> <div className={styles.itemContainer}>
<div className={styles.inputWrapper}> <div className={styles.keyInputWrapper}>
<TextInput <TextInput
className={styles.keyInput} className={styles.keyInput}
name="key" name="key"
@ -75,7 +75,7 @@ class KeyValueListInputItem extends Component {
/> />
</div> </div>
<div className={styles.inputWrapper}> <div className={styles.valueInputWrapper}>
<TextInput <TextInput
className={styles.valueInput} className={styles.valueInput}
name="value" name="value"

Loading…
Cancel
Save