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