File tree Expand file tree Collapse file tree 2 files changed +31
-20
lines changed Expand file tree Collapse file tree 2 files changed +31
-20
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ const SocialSharePopper: React.FC<SocialSharePopperProps> = ({
56
56
57
57
{ showShareAction ? (
58
58
< CustomTooltip title = "Share" placement = "top" arrow >
59
- < ActionButton sx = { { borderRadius : '0.1rem ' , padding : '0.5rem ' } } onClick = { handleShare } >
60
- < ChainIcon height = { '24' } width = { '24' } fill = { theme . palette . icon . secondary } />
59
+ < ActionButton sx = { { borderRadius : '0.2rem ' , padding : '0.4rem ' } } onClick = { handleShare } >
60
+ < ChainIcon height = { '24' } width = { '24' } fill = { theme . palette . icon . inverse } />
61
61
Share
62
62
</ ActionButton >
63
63
</ CustomTooltip >
Original file line number Diff line number Diff line change @@ -286,25 +286,36 @@ const ShareModal: React.FC<ShareModalProps> = ({
286
286
</ CustomDialogContentText >
287
287
</ ModalBody >
288
288
289
- < ModalFooter variant = "filled" >
290
- < ModalButtonSecondary
291
- variant = "outlined"
292
- onClick = { handleCopy }
293
- style = { { marginRight : '1rem' , padding : '7px 16px' } }
289
+ < ModalFooter
290
+ variant = "filled"
291
+ helpText = "You can share your designs or designs for which you have permission to share with other members of your organization and teams, and you can control access permissions."
292
+ >
293
+ < div
294
+ style = { {
295
+ display : 'flex' ,
296
+ justifyContent : 'end' ,
297
+ gap : '1rem'
298
+ } }
294
299
>
295
- < IconButtonWrapper >
296
- < ChainIcon width = "24" height = "24" fill = { theme . palette . text . constant ?. white } />
297
- </ IconButtonWrapper >
298
- < Typography > Copy Link</ Typography >
299
- </ ModalButtonSecondary >
300
- < ModalButtonPrimary
301
- disabled = { isShareDisabled ( ) }
302
- variant = "contained"
303
- color = "primary"
304
- onClick = { ( ) => handleShare ( shareUserData , selectedOption ) }
305
- >
306
- Share
307
- </ ModalButtonPrimary >
300
+ < ModalButtonSecondary
301
+ variant = "outlined"
302
+ onClick = { handleCopy }
303
+ style = { { marginRight : '1rem' , padding : '7px 16px' } }
304
+ >
305
+ < IconButtonWrapper >
306
+ < ChainIcon width = "24" height = "24" fill = { theme . palette . text . constant ?. white } />
307
+ </ IconButtonWrapper >
308
+ < Typography > Copy Link</ Typography >
309
+ </ ModalButtonSecondary >
310
+ < ModalButtonPrimary
311
+ disabled = { isShareDisabled ( ) }
312
+ variant = "contained"
313
+ color = "primary"
314
+ onClick = { ( ) => handleShare ( shareUserData , selectedOption ) }
315
+ >
316
+ Share
317
+ </ ModalButtonPrimary >
318
+ </ div >
308
319
</ ModalFooter >
309
320
</ Modal >
310
321
</ div >
You can’t perform that action at this time.
0 commit comments