From 460ec3aed579a71f5712ba5d6bd0f6201988f6f6 Mon Sep 17 00:00:00 2001 From: Yota Toyama Date: Wed, 8 Sep 2021 02:06:32 +0000 Subject: [PATCH] Fix vertical alignment of chapter navigation --- src/theme/css/chrome.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/theme/css/chrome.css b/src/theme/css/chrome.css index 21c08b93..ccfb5293 100644 --- a/src/theme/css/chrome.css +++ b/src/theme/css/chrome.css @@ -159,11 +159,14 @@ a > .hljs { .mobile-nav-chapters { font-size: 2.5em; - text-align: center; text-decoration: none; width: 90px; + height: 55px; border-radius: 5px; background-color: var(--sidebar-bg); + + display: grid; + place-items: center; } .previous {