Skip to content

Commit

Permalink
Improve styling of copy buttons and link div
Browse files Browse the repository at this point in the history
  • Loading branch information
jafeltra committed Nov 13, 2024
1 parent 989a0df commit 435e8aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ShareLink.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const useStyles = makeStyles((theme) => ({
paddingBottom: '15px',
paddingRight: '5px',
whiteSpace: 'nowrap',
overflow: 'scroll',
overflowY: 'scroll',
textOverflow: 'ellipsis'
},
copyButton: {
Expand Down Expand Up @@ -168,7 +168,7 @@ export default function ShareLink(props) {
<DialogContentText>Use this link to share your FSH with others!</DialogContentText>
<Box className={classes.copyBox}>
<Box className={classes.linkBox}>{link}</Box>
<Box>
<Box sx={{ display: 'flex', flexWrap: 'nowrap' }}>
<Tooltip title={copyTip} placement="top" arrow>
<IconButton className={classes.copyButton}>
<CopyToClipboard text={link} onCopy={() => setCopyTip('Link Copied')}>
Expand Down

0 comments on commit 435e8aa

Please sign in to comment.