New: Increase width of preferred word keys when editing

Closes #4689
This commit is contained in:
Mark McDowall 2021-10-22 17:44:50 -07:00
parent a97e83ea4d
commit f58a2389bd
2 changed files with 8 additions and 3 deletions

View File

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

View File

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