style: add padding to files download (#387) (#639)

Co-authored-by: Ferenc Sárai <ferenc.sarai@solarpunk.buzz>
This commit is contained in:
Ferenc Sárai
2023-11-20 13:59:40 +01:00
committed by GitHub
parent 7fa1cb0ccf
commit 8802d20555
+3 -1
View File
@@ -1,4 +1,4 @@
import { Grid, IconButton, InputBase, ListItem, Typography } from '@material-ui/core' import { Box, Grid, IconButton, InputBase, ListItem, Typography } from '@material-ui/core'
import Collapse from '@material-ui/core/Collapse' import Collapse from '@material-ui/core/Collapse'
import { createStyles, makeStyles, Theme } from '@material-ui/core/styles' import { createStyles, makeStyles, Theme } from '@material-ui/core/styles'
import { ChangeEvent, ReactElement, useState } from 'react' import { ChangeEvent, ReactElement, useState } from 'react'
@@ -134,6 +134,7 @@ export default function ExpandableListItemKey({
</ListItem> </ListItem>
<Collapse in={open} timeout="auto" unmountOnExit> <Collapse in={open} timeout="auto" unmountOnExit>
{helperText && <ExpandableListItemNote>{helperText}</ExpandableListItemNote>} {helperText && <ExpandableListItemNote>{helperText}</ExpandableListItemNote>}
<Box mt={2}>
<ExpandableListItemActions> <ExpandableListItemActions>
<SwarmButton <SwarmButton
disabled={ disabled={
@@ -159,6 +160,7 @@ export default function ExpandableListItemKey({
Cancel Cancel
</SwarmButton> </SwarmButton>
</ExpandableListItemActions> </ExpandableListItemActions>
</Box>
</Collapse> </Collapse>
</> </>
) )