mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-13 00:23:59 -07:00
Fixed: Styling issues in Quality Profile and Release Profiles
This commit is contained in:
parent
1c1158d74c
commit
21b6d9e2eb
4 changed files with 44 additions and 26 deletions
|
@ -8,7 +8,16 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.inputWrapper {
|
||||||
|
flex: 1 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.buttonWrapper {
|
||||||
|
flex: 0 0 22px;
|
||||||
|
}
|
||||||
|
|
||||||
.keyInput,
|
.keyInput,
|
||||||
.valueInput {
|
.valueInput {
|
||||||
|
width: 100%;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,6 +63,7 @@ class KeyValueListInputItem extends Component {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.itemContainer}>
|
<div className={styles.itemContainer}>
|
||||||
|
<div className={styles.inputWrapper}>
|
||||||
<TextInput
|
<TextInput
|
||||||
className={styles.keyInput}
|
className={styles.keyInput}
|
||||||
name="key"
|
name="key"
|
||||||
|
@ -72,7 +73,9 @@ class KeyValueListInputItem extends Component {
|
||||||
onFocus={this.onFocus}
|
onFocus={this.onFocus}
|
||||||
onBlur={this.onBlur}
|
onBlur={this.onBlur}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className={styles.inputWrapper}>
|
||||||
<TextInput
|
<TextInput
|
||||||
className={styles.valueInput}
|
className={styles.valueInput}
|
||||||
name="value"
|
name="value"
|
||||||
|
@ -82,9 +85,12 @@ class KeyValueListInputItem extends Component {
|
||||||
onFocus={this.onFocus}
|
onFocus={this.onFocus}
|
||||||
onBlur={this.onBlur}
|
onBlur={this.onBlur}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className={styles.buttonWrapper}>
|
||||||
{
|
{
|
||||||
!isNew &&
|
isNew ?
|
||||||
|
null :
|
||||||
<IconButton
|
<IconButton
|
||||||
name={icons.REMOVE}
|
name={icons.REMOVE}
|
||||||
tabIndex={-1}
|
tabIndex={-1}
|
||||||
|
@ -92,6 +98,7 @@ class KeyValueListInputItem extends Component {
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
composes: buton from '~Components/Link/IconButton.css';
|
composes: buton from '~Components/Link/IconButton.css';
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
|
|
@ -74,6 +74,7 @@
|
||||||
composes: buton from '~Components/Link/IconButton.css';
|
composes: buton from '~Components/Link/IconButton.css';
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue