Making WordPress.org

Changeset 12139


Ignore:
Timestamp:
10/20/2022 05:06:27 PM (23 months ago)
Author:
coffee2code
Message:

Breathe: Prevent ToC current heading indicator from overlapping the heading and link icon.

Props aezazshekh, coffee2code.
Fixes #6547.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    r12008 r12139  
    13201320    content: '';
    13211321    position: absolute;
    1322     left: -10px;
     1322    left: -40px;
    13231323    top: 50px;
    13241324    border-left: 5px solid #0073aa;
    13251325    height: 50%;
    13261326    height: calc(100% - 50px);
     1327}
     1328
     1329@media(max-width: 876px) {
     1330    .toc-heading:target:before {
     1331        left: -10px;
     1332    }
    13271333}
    13281334
Note: See TracChangeset for help on using the changeset viewer.