fix: Update laptop breakpoint to match my pages sidebar

This commit is contained in:
Chuma McPhoy
2024-06-19 10:33:17 +02:00
committed by Michael Zetterberg
parent 634e9651ec
commit 665d757102
5 changed files with 9 additions and 5 deletions

View File

@@ -31,7 +31,7 @@
text-decoration: underline; text-decoration: underline;
} }
@media screen and (min-width: 1200px) { @media screen and (min-width: 1367px) {
.button { .button {
font-weight: 600; font-weight: 600;
font-size: 16px; font-size: 16px;

View File

@@ -147,6 +147,9 @@ export function MainMenu({
) : null} ) : null}
</ul> </ul>
<div className={styles.buttonContainer}> <div className={styles.buttonContainer}>
<Link className={styles.link} href={myPages[lang]}>
{intl.formatMessage({ id: "My pages" })}
</Link>
<BookingButton href={bookingHref} /> <BookingButton href={bookingHref} />
{myPagesMobileDropdown && user ? ( {myPagesMobileDropdown && user ? (
<div <div

View File

@@ -235,7 +235,7 @@
gap: var(--Spacing-x3); gap: var(--Spacing-x3);
} }
@media (min-width: 1200px) { @media (min-width: 1367px) {
.navBar { .navBar {
grid-template-columns: 140px auto 1fr; grid-template-columns: 140px auto 1fr;
height: 82.4px; height: 82.4px;
@@ -267,6 +267,7 @@
.mainLinks { .mainLinks {
padding-top: 2.5px; padding-top: 2.5px;
background-color: transparent; background-color: transparent;
height: 100%;
} }
.expanderBtn { .expanderBtn {
@@ -295,7 +296,7 @@
} }
.li { .li {
display: table-cell; display: inline-grid;
float: none; float: none;
vertical-align: middle; vertical-align: middle;
line-height: 1.15; line-height: 1.15;

View File

@@ -44,7 +44,7 @@
list-style: none; list-style: none;
} }
@media screen and (min-width: 1200px) { @media screen and (min-width: 1367px) {
.navigationMenu { .navigationMenu {
display: none; display: none;
} }

View File

@@ -2,7 +2,7 @@
display: grid; display: grid;
} }
@media screen and (max-width: 950px) { @media screen and (max-width: 1366px) {
.header { .header {
height: 70.047px; height: 70.047px;
} }