[wp-trac] [WordPress Trac] #46371: Make sure in-page anchors are not hidden behind top bars

WordPress Trac noreply at wordpress.org
Wed Nov 17 17:18:23 UTC 2021


#46371: Make sure in-page anchors are not hidden behind top bars
----------------------------------------------+----------------------------
 Reporter:  afercia                           |       Owner:  joedolson
     Type:  defect (bug)                      |      Status:  closed
 Priority:  normal                            |   Milestone:  5.9
Component:  Toolbar                           |     Version:
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-screenshots has-patch commit  |     Focuses:  ui,
                                              |  accessibility, css
----------------------------------------------+----------------------------
Changes (by joedolson):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"52198" 52198]:
 {{{
 #!CommitTicketReference repository="" revision="52198"
 Toolbar: Prevent adminbar from hiding in-page anchors.

 Use scroll-padding-top to offset scroll position on in-page anchors when
 adminbar is active. Also adjusts existing scroll padding for core themes
 that implement it.

 Props afercia, kingkero, audrasjb, dufresnesteven, thimalw, sabernhardt,
 costdev.
 Fixes #46371.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46371#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list