fix: icons are not clickable

This commit is contained in:
chenos 2023-03-11 12:21:05 +08:00
parent bc25467027
commit 89284bb175

View File

@ -28,7 +28,7 @@ export const CurrentUser = () => {
const [visible, setVisible] = useState(false);
const { data } = useCurrentUserContext();
return (
<div style={{ display: 'inline-block', verticalAlign: 'top' }}>
<div style={{ display: 'inline-flex', verticalAlign: 'top' }}>
<DropdownVisibleContext.Provider value={{ visible, setVisible }}>
<Dropdown
visible={visible}