From 084eaee9dc02d0c37095f6a655acf9c15cdb736e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 2 Jul 2020 13:34:46 +0200 Subject: [PATCH] ToC --- web/script_2.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/script_2.js b/web/script_2.js index 6b51434..a29a93c 100644 --- a/web/script_2.js +++ b/web/script_2.js @@ -62,9 +62,9 @@ if (isMobile && window.screen.width < TOC_SCREEN_WIDTH_CUTOFF) { function updateToc() { if (isMobile && window.screen.width < TOC_SCREEN_WIDTH_CUTOFF) { - $(`code:contains(ToC)`).html(TOC_MOBILE).css("line-height", "2em"); + $(`code:contains(ToC)`).html(TOC_MOBILE).css("line-height", "1.8em"); } else { - $(`code:contains(ToC)`).html(TOC).css("line-height", "1em"); + $(`code:contains(ToC)`).html(TOC).css("line-height", "1.8em"); } } window.addEventListener("orientationchange", updateToc, false);