kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Fix link UX issue on linkfooter
rodzic
9ddc999f2d
commit
97b752c00c
|
@ -18,7 +18,9 @@ interface IFooterLink {
|
||||||
|
|
||||||
const FooterLink: React.FC<IFooterLink> = ({ children, className, ...rest }): JSX.Element => {
|
const FooterLink: React.FC<IFooterLink> = ({ children, className, ...rest }): JSX.Element => {
|
||||||
return (
|
return (
|
||||||
|
<div>
|
||||||
<Link className={classNames('text-gray-400 hover:text-gray-500 hover:underline', className)} {...rest}>{children}</Link>
|
<Link className={classNames('text-gray-400 hover:text-gray-500 hover:underline', className)} {...rest}>{children}</Link>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -36,7 +38,7 @@ const LinkFooter: React.FC = (): JSX.Element => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='space-y-2'>
|
<div className='space-y-2'>
|
||||||
<div className='flex flex-wrap items-center divide-x-dot'>
|
<div className='flex flex-wrap items-center divide-x-dot text-gray-400'>
|
||||||
{account && <>
|
{account && <>
|
||||||
{features.profileDirectory && (
|
{features.profileDirectory && (
|
||||||
<FooterLink to='/directory'><FormattedMessage id='navigation_bar.profile_directory' defaultMessage='Profile directory' /></FooterLink>
|
<FooterLink to='/directory'><FormattedMessage id='navigation_bar.profile_directory' defaultMessage='Profile directory' /></FooterLink>
|
||||||
|
|
Ładowanie…
Reference in New Issue