From ced91716900b49fe381faeafee4912df45122e9b Mon Sep 17 00:00:00 2001 From: Marvin Hagemeister Date: Wed, 4 Oct 2023 12:07:31 +0200 Subject: [PATCH] docs: improve code blocks mobile layout (#1846) --- www/routes/docs/[...slug].tsx | 10 +++++----- www/routes/gfm.css.ts | 34 +++++++++++++++++++++++++++++++++- www/utils/markdown.ts | 2 +- 3 files changed, 39 insertions(+), 7 deletions(-) diff --git a/www/routes/docs/[...slug].tsx b/www/routes/docs/[...slug].tsx index d70ffad9..3994c669 100644 --- a/www/routes/docs/[...slug].tsx +++ b/www/routes/docs/[...slug].tsx @@ -190,7 +190,7 @@ function Main(props: { path: string; page: Page }) {
Menu
-
+
@@ -233,7 +233,7 @@ function MobileSidebar(props: { path: string; page: Page }) { function DesktopSidebar(props: { path: string; page: Page }) { return ( -