1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-26 05:16:41 +07:00

user profile appearance

This commit is contained in:
Fedor Katurov 2019-10-09 19:56:37 +07:00
parent 2b2234c3d8
commit 87112cd985
3 changed files with 9 additions and 11 deletions

View file

@ -36,11 +36,8 @@ const HeaderUnconnected: FC<IProps> = ({ username, is_user, showDialog }) => {
<div onClick={onOpenEditor}>editor</div>
</div>
<Filler />
{is_user && (
<Group horizontal className={style.user_button}>
<div>{username}</div>
<div className={style.user_avatar} />
</Group>
)}

View file

@ -47,11 +47,11 @@
}
&:last-child {
padding-right: 0;
// padding-right: 0;
&::after {
display: none;
}
// &::after {
// display: none;
// }
}
}
}
@ -70,11 +70,12 @@
flex: 0 !important;
opacity: 0.3;
cursor: pointer;
margin-left: $gap;
}
.user_avatar {
width: 20px;
height: 20px;
width: 32px;
height: 32px;
background: white;
border-radius: $radius;
}