Making WordPress.org


Ignore:
Timestamp:
04/01/2024 08:52:41 PM (3 months ago)
Author:
coffee2code
Message:

wporg-support-2024: Improve responsive vertical positioning of author badge on topic post of single-topic pages, especially when a topic indicator is present.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support-2024/sass/elements/_badges.scss

    r13419 r13425  
    1515    font-size: 11px;
    1616    border-radius: var(--wp--custom--button--border--radius);
     17
     18    .bbp-topic-author & {
     19        top: 2px;
     20    }
     21
     22    @media screen and ( max-width: 568px ) {
     23
     24        .topic-indicator + .bbp-topic-author & {
     25            top: 12px;
     26        }
     27    }
    1728}
    1829
     
    8899    .author-badge-reporter {
    89100        top: -28px;
     101
     102        .bbp-topic-author & {
     103            top: -38px;
     104        }
     105
     106        .topic-indicator + .bbp-topic-author & {
     107            top: -28px;
     108        }
    90109    }
    91110}
Note: See TracChangeset for help on using the changeset viewer.