mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Move clone button to the left
This commit is contained in:
@@ -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,19 +348,23 @@ function IndexerInfoModalContent(props: IndexerInfoModalContentProps) {
|
|||||||
</TabPanel>
|
</TabPanel>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
</ModalBody>
|
</ModalBody>
|
||||||
<ModalFooter>
|
<ModalFooter className={styles.modalFooter}>
|
||||||
<Button
|
<div>
|
||||||
className={styles.deleteButton}
|
<Button
|
||||||
kind={kinds.DANGER}
|
className={styles.deleteButton}
|
||||||
onPress={onDeleteIndexerPress}
|
kind={kinds.DANGER}
|
||||||
>
|
onPress={onDeleteIndexerPress}
|
||||||
{translate('Delete')}
|
>
|
||||||
</Button>
|
{translate('Delete')}
|
||||||
<Button onPress={onCloneIndexerPressWrapper}>
|
</Button>
|
||||||
{translate('Clone')}
|
<Button onPress={onCloneIndexerPressWrapper}>
|
||||||
</Button>
|
{translate('Clone')}
|
||||||
<Button onPress={onEditIndexerPress}>{translate('Edit')}</Button>
|
</Button>
|
||||||
<Button onPress={onModalClose}>{translate('Close')}</Button>
|
</div>
|
||||||
|
<div>
|
||||||
|
<Button onPress={onEditIndexerPress}>{translate('Edit')}</Button>
|
||||||
|
<Button onPress={onModalClose}>{translate('Close')}</Button>
|
||||||
|
</div>
|
||||||
</ModalFooter>
|
</ModalFooter>
|
||||||
|
|
||||||
<EditIndexerModalConnector
|
<EditIndexerModalConnector
|
||||||
|
Reference in New Issue
Block a user