Making WordPress.org


Ignore:
Timestamp:
11/18/2020 08:16:23 PM (6 years ago)
Author:
ryelle
Message:

Theme Directory: Fix "Load More" button display.

Hide the "Load More" button on single theme pages, and when the feature drawer is open. Previously, the button would appear on single theme pages, and disappear when filters were applied.

See #5153.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/css/components/_main.scss

    r10451 r10457  
    169169        // Bit of a hack, checks the `nojs` class on the admin bar (also shown to logged out users).
    170170        .nojs ~ .wrap &,
    171         .show-filters & {
     171        // The feature filter drawer is open.
     172        .show-filters:not(.filters-applied) &,
     173        // A single theme is selected.
     174        .modal-open & {
    172175                display: none;
    173176        }
Note: See TracChangeset for help on using the changeset viewer.