Merge pull request #1678 from omnivore-app/fix/infolink-positioning

Set width and height on infolink so its positioned correctly
This commit is contained in:
Jackson Harper 2023-01-18 20:00:53 +08:00 committed by GitHub
commit d85f71a5ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,10 @@ export function InfoLink(props: InfoLinkProps): JSX.Element {
marginLeft: '10px',
}}
>
<a href={props.href} style={{ textDecoration: 'none' }}>
<a
href={props.href}
style={{ textDecoration: 'none', width: '24px', height: '24px' }}
>
<TooltipWrapped
tooltipContent="Learn More"
tooltipSide={'top'}