1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed mobile header paddings

This commit is contained in:
Fedor Katurov 2019-11-25 17:53:01 +07:00
parent a42a0adf4a
commit e48f19309a
3 changed files with 15 additions and 2 deletions

View file

@ -13,6 +13,7 @@
@include tablet {
height: 64px;
padding: 0 $gap;
}
&.is_scrolled {

View file

@ -16,7 +16,9 @@ interface IProps {
const UserButton: FC<IProps> = ({ user: { username, photo }, onProfileClick, onLogout }) => (
<div className={styles.wrap}>
<Group horizontal className={styles.user_button}>
<div onClick={onProfileClick}>{username}</div>
<div className={styles.username} onClick={onProfileClick}>
{username}
</div>
<div
className={styles.user_avatar}

View file

@ -19,7 +19,7 @@
padding: $gap;
&::after {
content: " ";
content: ' ';
width: 0;
height: 0;
border-style: solid;
@ -88,4 +88,14 @@
width: 24px;
height: 24px;
}
@include tablet {
margin-left: 0 !important;
}
}
.username {
@include tablet {
display: none;
}
}