1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +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 onClick={onOpenEditor}>editor</div>
</div> </div>
<Filler />
{is_user && ( {is_user && (
<Group horizontal className={style.user_button}> <Group horizontal className={style.user_button}>
<div>{username}</div>
<div className={style.user_avatar} /> <div className={style.user_avatar} />
</Group> </Group>
)} )}

View file

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

View file

@ -5,11 +5,11 @@
} }
.comments { .comments {
flex: 2 1; flex: 3 1;
} }
.panel { .panel {
flex: 1 2; flex: 1 3;
display: flex; display: flex;
align-items: flex-start; align-items: flex-start;
justify-content: flex-start; justify-content: flex-start;