Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invisible ToC in small screens when page parameter sidebar is set to false #798

Closed
3 tasks done
Rubonnek opened this issue Nov 16, 2022 · 1 comment · Fixed by #800
Closed
3 tasks done

Invisible ToC in small screens when page parameter sidebar is set to false #798

Rubonnek opened this issue Nov 16, 2022 · 1 comment · Fixed by #800
Labels
bug Something isn't working
Milestone

Comments

@Rubonnek
Copy link
Contributor

Prerequisites

Describe the issue

Same as title. Invisible ToC in small screens when page parameter sidebar is set to false

Steps to reproduce

Over the skeleton, apply this patch:

diff --git a/content/news/more-image-processing-methods/index.md b/content/news/more-image-processing-methods/index.md
index 85342ca..948ecdf 100644
--- a/content/news/more-image-processing-methods/index.md
+++ b/content/news/more-image-processing-methods/index.md
@@ -21,10 +21,16 @@ tags:
 authors:
   - RazonYang
 images: []
+sidebar: false
 ---
 
 Since `v1.0.0-alpha.1`, HBS supports much more image processing methods. Such as Crop, Fit and Fill images. You can also apply filters on an image.
 
 <!--more-->
 
+# 1
+## 2
+### 3
+#### 4
+

See the ToC:

2022-11-16-133603_956x1036_scrot

Expected behavior

Screenshot 2022-11-16 at 13-37-11 More Image Processing Methods

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Firefox

What version of theme are you using?

v1.0.0-alpha.15.0.20221115114142-09a902be931f // indirect

What version of Hugo are you using?

hugo v0.105.0+extended linux/amd64 BuildDate=unknown

What version of Node.js are you using?

16

What version of Git are you using?

2.38

Additional context

No response

@razonyang
Copy link
Owner

Thanks for the feedback, the TOC will always be shown if the sidebar is disabled, regardless of the screen sizes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants