From 59146da181eb681173cb4528b9628196ffcb545c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ba=CC=81rta?= Date: Thu, 6 Jun 2024 17:48:23 +0200 Subject: [PATCH 1/3] fix: Fixed menu item arrow position --- apify-docs-theme/src/theme/custom.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apify-docs-theme/src/theme/custom.css b/apify-docs-theme/src/theme/custom.css index 42cab98019..a27b0252af 100644 --- a/apify-docs-theme/src/theme/custom.css +++ b/apify-docs-theme/src/theme/custom.css @@ -612,6 +612,11 @@ article .card h2 { .menu__caret:before, .menu__link--sublist:after { float: right; + +} + +.menu__link--sublist-caret:after { + height: 2.45rem; } aside button[class*="collapseSidebarButton"] svg { From a3b16f43e27dfc0e828e599e7623fdba43aca5e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=A1rta?= <45016873+jbartadev@users.noreply.github.com> Date: Thu, 6 Jun 2024 18:17:00 +0200 Subject: [PATCH 2/3] Update apify-docs-theme/src/theme/custom.css MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Martin Adámek --- apify-docs-theme/src/theme/custom.css | 1 - 1 file changed, 1 deletion(-) diff --git a/apify-docs-theme/src/theme/custom.css b/apify-docs-theme/src/theme/custom.css index a27b0252af..8809d1a0d8 100644 --- a/apify-docs-theme/src/theme/custom.css +++ b/apify-docs-theme/src/theme/custom.css @@ -612,7 +612,6 @@ article .card h2 { .menu__caret:before, .menu__link--sublist:after { float: right; - } .menu__link--sublist-caret:after { From ef1de8a25e8656b7929cbf9c840aecc0190f5d9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ba=CC=81rta?= Date: Thu, 6 Jun 2024 18:19:07 +0200 Subject: [PATCH 3/3] fix: center the menu it even better --- apify-docs-theme/src/theme/custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apify-docs-theme/src/theme/custom.css b/apify-docs-theme/src/theme/custom.css index 8809d1a0d8..d3a4c4f117 100644 --- a/apify-docs-theme/src/theme/custom.css +++ b/apify-docs-theme/src/theme/custom.css @@ -615,7 +615,7 @@ article .card h2 { } .menu__link--sublist-caret:after { - height: 2.45rem; + height: 2.5rem; } aside button[class*="collapseSidebarButton"] svg {