Fixed: Preferred words remove button in Firefox

Fixes #3710
This commit is contained in:
Mark McDowall 2020-05-24 12:06:35 -07:00
parent cb9d78064a
commit 5951992bd5
3 changed files with 39 additions and 24 deletions

View File

@ -8,7 +8,16 @@
}
}
.inputWrapper {
flex: 1 0 0;
}
.buttonWrapper {
flex: 0 0 22px;
}
.keyInput,
.valueInput {
width: 100%;
border: none;
}

View File

@ -63,6 +63,7 @@ class KeyValueListInputItem extends Component {
return (
<div className={styles.itemContainer}>
<div className={styles.inputWrapper}>
<TextInput
className={styles.keyInput}
name="key"
@ -72,7 +73,9 @@ class KeyValueListInputItem extends Component {
onFocus={this.onFocus}
onBlur={this.onBlur}
/>
</div>
<div className={styles.inputWrapper}>
<TextInput
className={styles.valueInput}
name="value"
@ -82,14 +85,17 @@ class KeyValueListInputItem extends Component {
onFocus={this.onFocus}
onBlur={this.onBlur}
/>
</div>
{
!isNew &&
<div className={styles.buttonWrapper}>
<IconButton
name={icons.REMOVE}
tabIndex={-1}
onPress={this.onRemovePress}
/>
</div>
}
</div>
);

View File

@ -13,7 +13,7 @@
.episodeNumber {
composes: cell from '~Components/Table/Cells/TableRowCell.css';
width: 70px;
width: 65px;
}
.size {