[Glitch] Fix `ColumnLink` labels not disappearing in mobile UI
Port 3eef8a7a81
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
remotes/1703361221475462875/rebase/4.0.0rc1
parent
492ceeceb0
commit
1e7f819c85
|
@ -13,7 +13,7 @@ const ColumnLink = ({ icon, text, to, onClick, href, method, badge, transparent,
|
||||||
return (
|
return (
|
||||||
<a href={href} className={className} data-method={method} title={text} {...other}>
|
<a href={href} className={className} data-method={method} title={text} {...other}>
|
||||||
{iconElement}
|
{iconElement}
|
||||||
{text}
|
<span>{text}</span>
|
||||||
{badgeElement}
|
{badgeElement}
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
|
@ -21,7 +21,7 @@ const ColumnLink = ({ icon, text, to, onClick, href, method, badge, transparent,
|
||||||
return (
|
return (
|
||||||
<NavLink to={to} className={className} title={text} {...other}>
|
<NavLink to={to} className={className} title={text} {...other}>
|
||||||
{iconElement}
|
{iconElement}
|
||||||
{text}
|
<span>{text}</span>
|
||||||
{badgeElement}
|
{badgeElement}
|
||||||
</NavLink>
|
</NavLink>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue