From a7cbb3dfe06a0377f0216630038705538ac3287d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Thu, 2 Jul 2020 13:44:50 +0200 Subject: [PATCH] ToC --- web/script_2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/script_2.js b/web/script_2.js index a29a93c..978de18 100644 --- a/web/script_2.js +++ b/web/script_2.js @@ -57,7 +57,7 @@ if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine var TOC_SCREEN_WIDTH_CUTOFF = 667 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"); } function updateToc() {