mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-06 16:43:25 +01:00
Move clone button to the left
This commit is contained in:
parent
098be3cff6
commit
fe9cad5697
3 changed files with 31 additions and 13 deletions
|
|
@ -40,3 +40,16 @@
|
||||||
.tabContent {
|
.tabContent {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.modalFooter {
|
||||||
|
composes: modalFooter from '~Components/Modal/ModalFooter.css';
|
||||||
|
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: $breakpointExtraSmall) {
|
||||||
|
.modalFooter {
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
interface CssExports {
|
interface CssExports {
|
||||||
'deleteButton': string;
|
'deleteButton': string;
|
||||||
'description': string;
|
'description': string;
|
||||||
|
'modalFooter': string;
|
||||||
'selectedTab': string;
|
'selectedTab': string;
|
||||||
'tab': string;
|
'tab': string;
|
||||||
'tabContent': string;
|
'tabContent': string;
|
||||||
|
|
|
||||||
|
|
@ -348,7 +348,8 @@ function IndexerInfoModalContent(props: IndexerInfoModalContentProps) {
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
</ModalBody>
|
</ModalBody>
|
||||||
<ModalFooter>
|
<ModalFooter className={styles.modalFooter}>
|
||||||
|
<div>
|
||||||
<Button
|
<Button
|
||||||
className={styles.deleteButton}
|
className={styles.deleteButton}
|
||||||
kind={kinds.DANGER}
|
kind={kinds.DANGER}
|
||||||
|
|
@ -359,8 +360,11 @@ function IndexerInfoModalContent(props: IndexerInfoModalContentProps) {
|
||||||
<Button onPress={onCloneIndexerPressWrapper}>
|
<Button onPress={onCloneIndexerPressWrapper}>
|
||||||
{translate('Clone')}
|
{translate('Clone')}
|
||||||
</Button>
|
</Button>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
<Button onPress={onEditIndexerPress}>{translate('Edit')}</Button>
|
<Button onPress={onEditIndexerPress}>{translate('Edit')}</Button>
|
||||||
<Button onPress={onModalClose}>{translate('Close')}</Button>
|
<Button onPress={onModalClose}>{translate('Close')}</Button>
|
||||||
|
</div>
|
||||||
</ModalFooter>
|
</ModalFooter>
|
||||||
|
|
||||||
<EditIndexerModalConnector
|
<EditIndexerModalConnector
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue