Skip to content

Commit

Permalink
fixing input adorment
Browse files Browse the repository at this point in the history
  • Loading branch information
dlopezalvas committed Dec 1, 2023
1 parent f00cc87 commit b9df6f0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const ShareDialog = ({ open, setDialogOpen }: { open: boolean, setDialogOpen: (o
return <>
<Dialog open={open} onClose={() => { setDialogOpen(false) }}>
<DialogTitle>Compartir desafio</DialogTitle>
<DialogContent sx={{ minWidth: '500px' }}>
<DialogContent sx={{ minWidth: 540 }}>
<ShareModal />
</DialogContent>
</Dialog >
Expand All @@ -34,14 +34,14 @@ const ShareModal = () => {

return <Stack>
{shareId ?
<Stack direction='row' justifyContent='space-between' sx={{ margin: 1 }}>
<Stack direction='row'>
<TextField
sx={{ width: '100%' }}
sx={{ width: '100%', margin: 1}}
defaultValue={link}
InputProps={{
readOnly: true,
endAdornment: (
<InputAdornment position="start">
<InputAdornment position="end">
<CopyToClipboardButton textToCopy={link} />
</InputAdornment>
)
Expand Down

0 comments on commit b9df6f0

Please sign in to comment.