searchbar hover and hide profile option
This commit is contained in:
parent
d0d685ef64
commit
578618cdd7
@ -12,7 +12,7 @@ export const Profile = ({ anchorEl, handleClose }: ProfileProps) => {
|
||||
|
||||
return (
|
||||
<Menu anchorEl={anchorEl} keepMounted open={Boolean(anchorEl)} onClose={handleClose}>
|
||||
<MenuItem>Profil</MenuItem>
|
||||
{/* <MenuItem>Profil</MenuItem> */}
|
||||
<MenuItem onClick={logout}>Wyloguj</MenuItem>
|
||||
</Menu>
|
||||
);
|
||||
|
@ -56,6 +56,12 @@ const InputWrapper = styled.div`
|
||||
background-color: #f2f4f7;
|
||||
border-radius: 6px;
|
||||
align-items: center;
|
||||
&:hover {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
&:hover > input {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
`;
|
||||
|
||||
const SelectSearch = styled.select`
|
||||
@ -65,6 +71,9 @@ const SelectSearch = styled.select`
|
||||
outline: none;
|
||||
border-style: none;
|
||||
align-items: center;
|
||||
&:hover ~ input {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
`;
|
||||
|
||||
const SelectOption = styled.option`
|
||||
@ -72,6 +81,9 @@ const SelectOption = styled.option`
|
||||
outline: none;
|
||||
border-style: none;
|
||||
align-items: center;
|
||||
&:hover ~ input {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
`;
|
||||
|
||||
const Input = styled.input`
|
||||
|
Loading…
Reference in New Issue
Block a user