From eb7aedbc5f82065d2646763f671f5f4c8c33ef09 Mon Sep 17 00:00:00 2001 From: Kitamado <47292598+Seasawher@users.noreply.github.com> Date: Thu, 7 Aug 2025 08:01:29 +0900 Subject: [PATCH 1/3] fix: expand sidebar on chapter page load --- theme/index.hbs | 249 +++++++++++++++++++++++------------------------- 1 file changed, 118 insertions(+), 131 deletions(-) diff --git a/theme/index.hbs b/theme/index.hbs index d0903a72..3c372c5a 100644 --- a/theme/index.hbs +++ b/theme/index.hbs @@ -1,62 +1,59 @@ - - - - - - {{ title }} - {{#if is_print }} - - {{/if}} - {{#if base_url}} - - {{/if}} - - - - {{> head}} - - - - - - {{#if favicon_svg}} - - {{/if}} - {{#if favicon_png}} - - {{/if}} - - - - {{#if print_enable}} - - {{/if}} - - - - {{#if copy_fonts}} - - {{/if}} - - - - - - - - {{#each additional_css}} - - {{/each}} - - {{#if mathjax_support}} - - - {{/if}} - - - + + + + + {{ title }} + {{#if is_print }} + + {{/if}} + {{#if base_url}} + + {{/if}} + + + + {{> head}} + + + + + + {{#if favicon_svg}} + + {{/if}} + {{#if favicon_png}} + + {{/if}} + + + + {{#if print_enable}} + + {{/if}} + + + + {{#if copy_fonts}} + + {{/if}} + + + + + + + + {{#each additional_css}} + + {{/each}} + + {{#if mathjax_support}} + + + {{/if}} + +
- + + {{!-- toc.js がサイドバーの内容とスクロール位置を復元する --}} +
@@ -149,14 +148,10 @@ {{#if search_enabled}}