Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

Fix navigation menu by aligning it to the left (#2182)

Ivan Starkov7c0e25cf0461
diff --git a/packages/sdk-components-react-radix/src/navigation-menu.ws.ts b/packages/sdk-components-react-radix/src/navigation-menu.ws.ts
index 4c90722d8c..099439ced7 100644
--- a/packages/sdk-components-react-radix/src/navigation-menu.ws.ts
+++ b/packages/sdk-components-react-radix/src/navigation-menu.ws.ts
@@ -305,7 +305,7 @@ export const metaNavigationMenu: WsComponentMeta = {
],
// relative
// Omiting this: z-10 flex max-w-max flex-1 items-center justify-center
- styles: [tc.relative()].flat(),
+ styles: [tc.relative(), tc.maxW("max")].flat(),
children: [
{
type: "instance",