This commit is contained in:
haitao(lj) 2022-10-09 17:58:37 +08:00 committed by mingcheng
parent 852756c9ba
commit a4c42f85b9
1 changed files with 4 additions and 1 deletions

View File

@ -198,7 +198,10 @@ const TagSelector: FC<IProps> = ({
})}
{initialValue?.length < 5 || alwaysShowAddBtn ? (
<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>
{t('add_btn')}
</Dropdown.Toggle>