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

WordPress Trac noreply at wordpress.org
Fri Jun 21 11:44:18 UTC 2019


#46371: Make sure in-page anchors are not hidden behind top bars
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Toolbar                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots good-first-bug has-  |     Focuses:  ui,
  patch needs-testing                            |  accessibility
-------------------------------------------------+-------------------------
Changes (by kingkero):

 * keywords:  needs-patch has-screenshots good-first-bug => has-screenshots
     good-first-bug has-patch needs-testing


Comment:

 In the latest Gutenberg master version, Headings and Groups can have
 anchors. So I added rules for those two via the CSS directive `:target`.
 Needs to be in 2 places for each files as the admin bar has different
 heights for different screens. For smaller screens the bar is not fixed.

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


More information about the wp-trac mailing list