diff --git a/packages/gitbook/src/components/Header/Header.tsx b/packages/gitbook/src/components/Header/Header.tsx
index 9ee35ba0b..b7ce6dbc9 100644
--- a/packages/gitbook/src/components/Header/Header.tsx
+++ b/packages/gitbook/src/components/Header/Header.tsx
@@ -98,6 +98,7 @@ export function Header(props: {
MAX_HEADER_LINKS_FOR_BIG_SEARCHBAR
? 'lg:basis-72'
: '',
+ isMultiVariants && 'page-no-toc:lg:basis-auto',
)}
>
-
- {isMultiVariants && (
-
-
+
-
- )}
+ : ''
+ }
+ />
+
+ )}
+
.button+.button]:-ml-2',
+ 'grow-[2.5] shrink flex justify-end items-center gap-x-4 lg:gap-x-6 min-w-9 z-20 lg:[&>.button+.button]:-ml-2',
)}
>
{children}
diff --git a/packages/gitbook/src/components/Header/HeaderLogo.tsx b/packages/gitbook/src/components/Header/HeaderLogo.tsx
index 18c1201ee..65addec76 100644
--- a/packages/gitbook/src/components/Header/HeaderLogo.tsx
+++ b/packages/gitbook/src/components/Header/HeaderLogo.tsx
@@ -95,7 +95,7 @@ function LogoFallback(props: HeaderLogoProps) {
- {space.title}
+ {space.title}
)}
diff --git a/packages/gitbook/src/components/Header/headerLinks.module.css b/packages/gitbook/src/components/Header/headerLinks.module.css
index 38a5ec0f7..50e9fc76c 100644
--- a/packages/gitbook/src/components/Header/headerLinks.module.css
+++ b/packages/gitbook/src/components/Header/headerLinks.module.css
@@ -7,11 +7,13 @@
}
}
-@media(max-width:1023px) {
- .containerHeaderlinks {
- container-type: inline-size;
- container-name: headerlinks;
- }
+.containerHeaderlinks {
+ container-type: inline-size;
+ container-name: headerlinks;
+}
+
+/* @media(max-width:1279px) {
+
}
@media(max-width:1279px) {
@@ -36,7 +38,7 @@
display: flex;
}
}
-}
+} */
/* @media (max-width: 1024px) {
.containerHeaderlinks > :nth-child(n + 4) {
@@ -96,7 +98,7 @@
}
}
}
-@container headerlinks ( width < 400px ) {
+@container headerlinks ( width < 450px ) {
.containerHeaderlinks > :nth-child(n + 3) {
display: none;
}
@@ -107,7 +109,7 @@
}
}
}
-@container headerlinks ( width < 500px ) {
+@container headerlinks ( width < 550px ) {
.containerHeaderlinks > :nth-child(n + 4) {
display: none;
}
@@ -118,7 +120,7 @@
}
}
}
-@container headerlinks ( width < 600px ) {
+@container headerlinks ( width < 650px ) {
.containerHeaderlinks > :nth-child(n + 5) {
display: none;
}
@@ -129,7 +131,7 @@
}
}
}
-@container headerlinks ( width < 700px ) {
+@container headerlinks ( width < 750px ) {
.containerHeaderlinks > :nth-child(n + 6) {
display: none;
}