mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
fixed mobile header paddings
This commit is contained in:
parent
a42a0adf4a
commit
e48f19309a
3 changed files with 15 additions and 2 deletions
|
@ -13,6 +13,7 @@
|
|||
|
||||
@include tablet {
|
||||
height: 64px;
|
||||
padding: 0 $gap;
|
||||
}
|
||||
|
||||
&.is_scrolled {
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue