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

fix header apperance for guests

This commit is contained in:
Fedor Katurov 2025-02-17 11:55:15 +07:00
parent 521f5ce436
commit 5056047546
2 changed files with 9 additions and 3 deletions

View file

@ -59,7 +59,11 @@ const Header: FC<HeaderProps> = observer(() => {
className={classNames(styles.wrap, { [styles.is_scrolled]: isScrolled })}
>
<div className={styles.container}>
<div className={styles.logo_wrapper}>
<div
className={classNames(styles.logo_wrapper, {
[styles.guest]: !isUser,
})}
>
<Logo />
</div>

View file

@ -106,7 +106,9 @@
transform: translate(50%, 0) scaleX(0);
opacity: 0;
border-radius: 3px;
transition: transform 0.5s, opacity 0.25s;
transition:
transform 0.5s,
opacity 0.25s;
}
&::after {
@ -159,7 +161,7 @@
}
}
.logo_wrapper {
.logo_wrapper:not(.guest) {
@include tablet {
display: none;
}