mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 09:16:16 +08:00
Add missing Button-label span from ButtonLink (#113)
Every sideNav item created by flarum/core includes this span, so tags should too.
This commit is contained in:
parent
03426b57a0
commit
42158112bf
|
@ -20,7 +20,9 @@ export default class TagLinkButton extends LinkButton {
|
|||
style={active && tag ? {color: tag.color()} : ''}
|
||||
title={description || ''}>
|
||||
{tagIcon(tag, {className: 'Button-icon'})}
|
||||
{tag ? tag.name() : app.translator.trans('flarum-tags.forum.index.untagged_link')}
|
||||
<span className="Button-label">
|
||||
{tag ? tag.name() : app.translator.trans('flarum-tags.forum.index.untagged_link')}
|
||||
</span>
|
||||
</Link>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user