fix navbar offsets
This commit is contained in:
@@ -91,7 +91,7 @@
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
@media screen and (max-width: 860px) {
|
||||
.nav {
|
||||
height: 3rem;
|
||||
}
|
||||
@@ -101,6 +101,12 @@
|
||||
.mobile {
|
||||
display: inherit;
|
||||
}
|
||||
.menumobile {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
.logoutmobile {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* FOR TESTING MOBILE NAV WITHOUT DEVTOOLS */
|
||||
|
||||
@@ -27,7 +27,10 @@ const Navigation = () => {
|
||||
</Link>
|
||||
);
|
||||
})}
|
||||
<div tabIndex={0} className={`${styles.dropdown} ${styles.mobile}`}>
|
||||
<div
|
||||
tabIndex={0}
|
||||
className={`${styles.dropdown} ${styles.mobile} ${styles.menumobile}`}
|
||||
>
|
||||
<Icon icon="Menu" />
|
||||
{/* TUTAJ WSTAWIĆ IKONKĘ PÓŹNIEJ */}
|
||||
<div className={styles.innerdropdown}>
|
||||
@@ -68,7 +71,7 @@ const Navigation = () => {
|
||||
{!isLoading && user && (
|
||||
<Link
|
||||
href="/api/auth/logout"
|
||||
className={`${styles.link} ${styles.partprofile}`}
|
||||
className={`${styles.link} ${styles.partprofile} ${styles.logoutmobile}`}
|
||||
>
|
||||
<Icon icon="LogOut" />
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user