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

fixed header appearance on mobile

This commit is contained in:
Fedor Katurov 2021-03-23 11:29:47 +07:00
parent deb8c27eca
commit ccec211727
5 changed files with 17 additions and 6 deletions

View file

@ -29,7 +29,7 @@
color: $wisegreen; color: $wisegreen;
} }
& :last-child::after { & > :last-child::after {
display: inline-block; display: inline-block;
content: " "; content: " ";
height: 1em; height: 1em;

View file

@ -80,7 +80,7 @@ const HeaderUnconnected: FC<IProps> = memo(
<div className={styles.container}> <div className={styles.container}>
<Logo /> <Logo />
<Filler /> <Filler className={styles.filler} />
<div className={styles.plugs}> <div className={styles.plugs}>
<Link <Link

View file

@ -48,6 +48,11 @@
user-select: none; user-select: none;
text-transform: uppercase; text-transform: uppercase;
align-items: center; align-items: center;
@include tablet {
flex: 1;
justify-content: space-around;
}
} }
.profile { .profile {
@ -119,3 +124,9 @@
} }
} }
} }
.filler {
@include tablet {
display: none;
}
}

View file

@ -6,4 +6,8 @@
user-select: none; user-select: none;
color: white; color: white;
text-decoration: none; text-decoration: none;
@include tablet {
display: none;
}
} }

View file

@ -27,10 +27,6 @@ body {
background-size: 600px 600px; background-size: 600px 600px;
pointer-events: none; pointer-events: none;
} }
* {
min-width: 0;
}
} }
#app { #app {