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

menu: increase expander left margin #943

Closed
sedyh opened this issue Oct 26, 2024 · 4 comments
Closed

menu: increase expander left margin #943

sedyh opened this issue Oct 26, 2024 · 4 comments
Assignees
Labels
feature New feature or request
Milestone

Comments

@sedyh
Copy link

sedyh commented Oct 26, 2024

Hello, some of my friends and I noticed that the default margins for navigation icons are almost absent, they are quite difficult to access in the desktop version of the page.

  1. Is it possible to increase the margin a little?

  2. It would also be nice to have a same fixed size for the open and closed sections.

breadcrumps

@McShelby McShelby changed the title theme: increase breadcrumps left margin theme: increase exander left margin Oct 27, 2024
@McShelby McShelby added feature New feature or request helpwanted Great idea, send in a PR idea A valuable idea that's currently not worked on labels Oct 27, 2024
@McShelby
Copy link
Owner

I agree that this would be preferable, but due to time constraints it is unclear when or even whether I will address this in the future.

@sedyh
Copy link
Author

sedyh commented Oct 27, 2024

I guess I could try to help with this. It doesn't seem very hard to implement.

@McShelby
Copy link
Owner

I appreciate your help!

Things to keep in mind: 7.1.0 introduced submenus for the shortcut / Hugo menus. This is not exposed in the exampleSite. Those shortcut menus are shown in a slightly compressed form, which has influence on the placement of the expander. So, this needs to be tested, too.

@McShelby McShelby removed helpwanted Great idea, send in a PR idea A valuable idea that's currently not worked on labels Jan 29, 2025
@McShelby McShelby self-assigned this Jan 29, 2025
@McShelby McShelby added this to the 7.4.0 milestone Jan 29, 2025
@McShelby McShelby changed the title theme: increase exander left margin menu: increase exander left margin Jan 29, 2025
@McShelby
Copy link
Owner

I can not see, how to gain extra space for the click area without touching the size and position of the current output. Later is not preferred, so I'll close this for now.

I did move the chevron-right expande a tad to the right but this will not increase the clickable area.

@McShelby McShelby changed the title menu: increase exander left margin menu: increase expander left margin Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants