Fix button size

This commit is contained in:
austinkelsay 2024-11-05 16:01:12 -06:00
parent 31af64e36a
commit d4dfad856c
No known key found for this signature in database
GPG Key ID: 44CB4EC6D9F2FA02
2 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ const DocumentDetails = ({ processedEvent, topics, title, summary, image, price,
<div className="w-full flex flex-row justify-end gap-2">
{course && <GenericButton size={isMobileView ? 'small' : null} outlined icon="pi pi-external-link" onClick={() => window.open(`/course/${course}`, '_blank')} label={isMobileView ? "Course" : "Open Course"} tooltip="This is a lesson in a course" tooltipOptions={{ position: 'top' }} />}
<GenericButton
size={isMobileView ? 'small' : 'large'}
size={isMobileView ? 'small' : null}
tooltip={isMobileView ? null : "View Nostr Note"}
tooltipOptions={{ position: 'left' }}
icon="pi pi-external-link"

View File

@ -222,7 +222,7 @@ const VideoDetails = ({ processedEvent, topics, title, summary, image, price, au
<div className="w-full flex flex-row justify-end gap-2">
{course && <GenericButton size={isMobileView ? 'small' : null} outlined icon="pi pi-external-link" onClick={() => window.open(`/course/${course}`, '_blank')} label={isMobileView ? "Course" : "Open Course"} tooltip="This is a lesson in a course" tooltipOptions={{ position: 'top' }} />}
<GenericButton
size={isMobileView ? 'small' : 'large'}
size={isMobileView ? 'small' : null}
tooltip={isMobileView ? null : "View Nostr Note"}
tooltipOptions={{ position: 'left' }}
icon="pi pi-external-link"