Making WordPress.org


Ignore:
Timestamp:
07/10/2022 10:52:53 PM (22 months ago)
Author:
dufresnesteven
Message:

Themes: Make sure the feature toggle is visible on mobile.

Props matveb.

File:
1 edited

Legend:

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

    r11876 r11954  
    13041304}
    13051305
     1306.wp-filter .drawer-toggle .drawer-text {
     1307    display: inline-block;
     1308}
     1309
    13061310.filter-drawer {
    13071311    display: none;
     
    17111715    }
    17121716
    1713     /* Hide Feature Filter on mobile. */
    1714     .wp-filter .drawer-toggle {
    1715         display: none;
    1716     }
    1717 
    17181717    /* Full width search form. */
    17191718    .wp-filter .search-form,
     
    17651764    }
    17661765}
     1766
     1767@media only screen and (max-width: 375px) {
     1768    .wp-filter .drawer-toggle {
     1769        float: right;
     1770        margin-top: 12px;
     1771        margin-right: 0;
     1772    }
     1773
     1774    .wp-filter .drawer-toggle:before {
     1775        margin-right: 0;
     1776    }
     1777}
     1778
     1779@media only screen and (max-width: 350px) {
     1780    .wp-filter .drawer-toggle .drawer-text {
     1781        display: none;
     1782    }
     1783}
Note: See TracChangeset for help on using the changeset viewer.