JakobOvrum / bootDoc

Theme for the DDoc documentation generator
Other
36 stars 7 forks source link

All ditto values are in same <h3> tag #8

Closed denis-sh closed 11 years ago

denis-sh commented 12 years ago

Examples:

As a result it's hard to click in a browser.

JakobOvrum commented 12 years ago

Thank you for the report! Totally missed this serious issue.

Just as a note; I am working on this, but it's turning out trickier than I initially anticipated. DDoc deals with ditto declarations very strangely (just dumps them linearly into the same DDOC_DECL). I've made good progress so far, though.

JakobOvrum commented 12 years ago

Putting ditto declarations in their own tag is easy, but it highlights another problem, which is that of the titlebar obscuring highlighted symbols.

Right now it's worked around by putting a margin-top: 40px; on every symbol declaration, but this expands the click area of the link 40 pixels above its ideal size, making other links directly above the link unclickable. Right now I am searching for a way to have fragment identifiers (the #foo part of the URL) point to the right location, but without the margin hack. Some help or suggestions would be appreciated.

denis-sh commented 11 years ago

This issue is invalid, because the problem isn't in <h3> tag but in margin-top: 40px; style causing browser to misunderstand link click region. The style is fixed in pulls #24 & #25