mirror of https://gitee.com/answerdev/answer.git
fix: #972
This commit is contained in:
parent
852756c9ba
commit
a4c42f85b9
|
@ -198,7 +198,10 @@ const TagSelector: FC<IProps> = ({
|
||||||
})}
|
})}
|
||||||
{initialValue?.length < 5 || alwaysShowAddBtn ? (
|
{initialValue?.length < 5 || alwaysShowAddBtn ? (
|
||||||
<Dropdown onSelect={handleSelect} onToggle={setVisibleMenu}>
|
<Dropdown onSelect={handleSelect} onToggle={setVisibleMenu}>
|
||||||
<Dropdown.Toggle variant="outline-secondary" size="sm">
|
<Dropdown.Toggle
|
||||||
|
className={classNames(alwaysShowAddBtn ? 'mb-2' : null)}
|
||||||
|
variant="outline-secondary"
|
||||||
|
size="sm">
|
||||||
<span className="me-1">+</span>
|
<span className="me-1">+</span>
|
||||||
{t('add_btn')}
|
{t('add_btn')}
|
||||||
</Dropdown.Toggle>
|
</Dropdown.Toggle>
|
||||||
|
|
Loading…
Reference in New Issue