Ver código fonte

update file name button

master
jason.lam 1 ano atrás
pai
commit
0fe886d187
1 arquivos alterados com 19 adições e 22 exclusões
  1. +19
    -22
      src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js

+ 19
- 22
src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js Ver arquivo

@@ -530,29 +530,26 @@ const ApplicationDetailCard = (
</Grid>
<Grid item xs={12} sm={12} md={9} lg={9} >
<Grid container direction="row" alignItems="center" justifyContent="flex-start">
<Grid item xs={12} sm={12} md={9} lg={9} sx={{ wordBreak: 'break-word' , }}>
<FormControl variant="outlined" fullWidth >
<Typography
fullWidth
id='fileName'
variant="pnspsFormParagraph"
>
{fileDetail.filename}
</Typography>
</FormControl>
</Grid>
<Grid item xs={12} sm={12} md={3} lg={3} >
<ThemeProvider theme={PNSPS_BUTTON_THEME}>
<Button
variant="contained"
onClick={onDownloadClick()}
aria-label={intl.formatMessage({id: 'download'})}
title={intl.formatMessage({id: 'download'})}
color="save"
startIcon={<DownloadIcon sx={{alignItems:"center"}}/>}
<Grid item xs={12} sm={12} md={12} lg={12} sx={{ wordBreak: 'break-word' , }}>
<Typography
fullWidth
id='fileName'
variant="pnspsFormParagraph"
>
<FormattedMessage id="download"/>
</Button>
{fileDetail.filename}
</Typography>
<ThemeProvider theme={PNSPS_BUTTON_THEME}>
<Button
sx={{ml:3}}
variant="contained"
onClick={onDownloadClick()}
aria-label={intl.formatMessage({id: 'download'})}
title={intl.formatMessage({id: 'download'})}
color="save"
startIcon={<DownloadIcon sx={{alignItems:"center"}}/>}
>
<FormattedMessage id="download"/>
</Button>
</ThemeProvider>
</Grid>
</Grid>


Carregando…
Cancelar
Salvar