From 7f29ab310a2fccdaa41d8f99b941051a8b7df210 Mon Sep 17 00:00:00 2001 From: lxsang Date: Sun, 7 Feb 2021 13:44:15 +0100 Subject: [PATCH] enable mobile compatibility --- doc/assets/style.css | 2 +- doc/views/default/index/book.ls | 8 ++++---- doc/views/default/layout.ls | 7 ++++++- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/doc/assets/style.css b/doc/assets/style.css index c5d8d1a..871000b 100644 --- a/doc/assets/style.css +++ b/doc/assets/style.css @@ -145,7 +145,7 @@ div.search-icon { width: 35px; } div.doc-toc { - max-width: 80%; + max-width: 70%; padding-right: 10px; background-color: #e3e3e3; color: #2c2c2c; diff --git a/doc/views/default/index/book.ls b/doc/views/default/index/book.ls index f335b18..024ae14 100644 --- a/doc/views/default/index/book.ls +++ b/doc/views/default/index/book.ls @@ -76,12 +76,12 @@ ") + echo("") echo(prev_entry.name) echo("") end if next_entry then - echo("") + echo("") echo(next_entry.name) echo("") end @@ -108,12 +108,12 @@ The comment editor supports Markdown syntax. Your email is necessary to n
+
> -
+
>