Fixed block and inline dropdown buttons

This commit is contained in:
Alejandro Celaya
2023-05-27 09:40:49 +02:00
parent 3da2b56426
commit afc574aceb
5 changed files with 13 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ export const VisitsFilterDropdown = (
const onBotsClick = () => onChange({ ...selected, excludeBots: !selected?.excludeBots });
return (
<DropdownBtn text="Filters" dropdownClassName={className} className="me-3" right minWidth={250}>
<DropdownBtn text="Filters" dropdownClassName={className} inline right minWidth={250}>
<DropdownItem header>Bots:</DropdownItem>
<DropdownItem active={excludeBots} onClick={onBotsClick}>Exclude potential bots</DropdownItem>