mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fix some styling issues in Quality Profile and Release Profiles
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user