You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] FileTree long comments cannot be read fully without mouse hover #51
In OINK v1.2.0, FileTree comments are truncated on desktop and tablet. The hover tooltip is not an equivalent keyboard/touch reading path. Below 576px, the existing stacked layout already wraps comments.
Reproduce
Use a site importing github.com/pgsty/oink@v1.2.0, with Hugo 0.165.0 Extended and Go 1.27.0. Add this fence to a Markdown page:
```filetreerocksdb-data/ data/ m/ # schema store: property keys, vertex/edge/index labels, counters g/ # graph store: vertices, edges, index tables, olap tables s/ # system store: tasks, server info, backend meta (driver version)```
At 1440px and 768px, Tab to the divider and press Home to maximize the comment column. Long comments still end in ellipses.
Expected behavior
Full comments should be readable without hover, with aligned rows and usable filename/divider controls. Wrapping may increase row height. Mobile stacking and print should remain usable.
Resolved by #52 and #57, preserving @imbajin's contribution and adding the optional wrap parameter.
Use wrap=true on a FileTree fence to show full comments without hover. Omit it, or use wrap=false, to keep compact rows. Filenames retain ellipsis, and the existing divider, folding, mobile, and Print behavior is preserved.
The implementation is merged and has passed the full theme CI and site regression suite. It is recorded in the 1.3.1 release notes; the v1.3.1 tag is not published yet. Thanks for the report and fix!
Activity
Vonng commentedon Oct 17, 2026
Resolved by #52 and #57, preserving @imbajin's contribution and adding the optional
wrapparameter.Use
wrap=trueon a FileTree fence to show full comments without hover. Omit it, or usewrap=false, to keep compact rows. Filenames retain ellipsis, and the existing divider, folding, mobile, and Print behavior is preserved.The implementation is merged and has passed the full theme CI and site regression suite. It is recorded in the 1.3.1 release notes; the v1.3.1 tag is not published yet. Thanks for the report and fix!