hugo-theme-docdock
hugo-theme-docdock copied to clipboard
Feature request: Add sidebar resize capability
Pages with long names are cut off when displayed in the nav sidebar.
The default theme sets the nav sidebar to a fixed width of 300px and the body is set to fixed size via margin-left=300px
.
Request: Add a horizontal resize feature to the nav sidebar and dynamically resize the body margin-left size based on the size of the nav sidebar.
Or support tooltips so at least the user can view the full text.
Hello @GeertvanHorrik this theme uses built in Hugo menu functions (templates). To support html's <a href="..." title="ToolTipText">
, it has to be improved on Hugo itself.
I thought it is some built-in Hugo/go HTML function, but not.
While debugging #61, found that menu.html
contains section <!-- templates --> {{ define "section-tree-nav" }}
, which is used to render navigation items. So, adding tooltip is really easy.
This is super annoying to any user of the docdock theme. Can we please fix this!! We need to give the ability to resize the sidebar to the user.
Hello all, will try to fix it this Friday
@vjeantet Thanks so much!!! you rock
Hi @vjeantet - any updates on this issue?
any updates on this issue?