In-page link targets on pages with sticky top navbar create no-click zones above the targets
- Status
- Open
- Subject
- In-page link targets on pages with sticky top navbar create no-click zones above the targets
- Version
- 20.x
- Category
- Regression
- Feature
- Auto TOC
Menu
Wiki (page view, edit, history, rename, etc) - Resolution status
- New
- Submitted by
- Gary Cunningham-Lee
- Lastmod by
- Gary Cunningham-Lee
- Rating
- Description
I just came across a problem with the vertical offset for targeting headings with autotoc. That is, a problem caused by this code:
h1:target
{CODE()}before, h2:targetbefore, h3:targetbefore, h4:targetbefore, h5:targetbefore, h6:targetbefore {content: "";
display: block;
height: 83px;
margin: -83px 0 0;
}
which is inline CSS when autotoc and the sticky top navbar (in this case 83px in height) are used. In a page with some links just above a heading, the links can't be clicked because the transparent 83px-high target overlaps them from the heading below.I tried a few tweaks to the CSS but didn't have any success. Probably at least it should be documented, that every heading or other in-page anchor targeted by a link will have a zone above it equal to the navbar offset set in L&F admin that shouldn't contain links or other HTML that needs to be clicked, etc.
- Importance
- 3
- Easy to solve?
- 5
- Priority
- 15
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7203
- Created
- Thursday 31 October, 2019 12:06:34 UTC
by Gary Cunningham-Lee - LastModif
- Thursday 31 October, 2019 12:06:34 UTC