[Glitch] Fix `ColumnLink` labels not disappearing in mobile UI

Port 3eef8a7a81 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Yamagishi Kazutoshi 2022-10-10 13:51:16 +09:00 committed by Claire
parent 492ceeceb0
commit 1e7f819c85
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ const ColumnLink = ({ icon, text, to, onClick, href, method, badge, transparent,
return (
<a href={href} className={className} data-method={method} title={text} {...other}>
{iconElement}
{text}
<span>{text}</span>
{badgeElement}
</a>
);
@ -21,7 +21,7 @@ const ColumnLink = ({ icon, text, to, onClick, href, method, badge, transparent,
return (
<NavLink to={to} className={className} title={text} {...other}>
{iconElement}
{text}
<span>{text}</span>
{badgeElement}
</NavLink>
);