mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-05 17:31:51 +00:00
Fix ColumnLink
labels not disappearing in mobile UI (#19334)
This commit is contained in:
parent
5f79200a5e
commit
3eef8a7a81
|
@ -13,7 +13,7 @@ const ColumnLink = ({ icon, text, to, href, method, badge, transparent, ...other
|
||||||
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, href, method, badge, transparent, ...other
|
||||||
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 a new issue