mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-09 00:13:49 +08:00
fixed edit image on hover action
This commit is contained in:
parent
f492234f89
commit
9de8592858
1 changed files with 4 additions and 0 deletions
|
@ -15,9 +15,13 @@ const AvatarWrapper = styled.div`
|
|||
height: 100px;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
&:hover > span {
|
||||
display: block;
|
||||
}
|
||||
`;
|
||||
|
||||
const EditAvatar = styled.span`
|
||||
display: none;
|
||||
color: ${WHITE_COLOR};
|
||||
background-color: ${DARK_GRAY_COLOR};
|
||||
position: absolute;
|
||||
|
|
Loading…
Reference in a new issue