From 57139d36ae3399a99671bd14b51021f401a1c669 Mon Sep 17 00:00:00 2001 From: adz Date: Thu, 18 Jan 2024 12:27:43 +0100 Subject: [PATCH] Think I found a solution to fix layout in docusaurus 3 --- website/src/css/custom.css | 6 ++++++ website/src/pages/index.module.css | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 2d6f00f67..dad3d5542 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -129,6 +129,12 @@ border-color: transparent !important; } +/* Since docusaurus v3 the `main-wrapper` is a flex-box which breaks + * our landing page */ +.main-wrapper { + display: block !important; +} + /* Utils */ .truncate { diff --git a/website/src/pages/index.module.css b/website/src/pages/index.module.css index 9caa77455..165431ac3 100644 --- a/website/src/pages/index.module.css +++ b/website/src/pages/index.module.css @@ -23,7 +23,7 @@ .pentagon-shift { position: relative; top: -200px; - left: -32px; + left: -35px; user-select: none; pointer-events: none; }