Making WordPress.org


Ignore:
Timestamp:
08/23/2017 06:12:03 PM (8 years ago)
Author:
coffee2code
Message:

developer.wordpress.org: Fix display of 'Topics' box in handbooks at smaller viewports.

Styles for the box were unnecessarily constrained and thus did not apply within the handbooks, which led to poor wrapping and spacing at smaller viewports.

Props sagarprajapati for initial patch.
Fixes #3040.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss

    r5820 r5835  
    18251825@media (max-width: 32em) {
    18261826    .devhub-wrap {
    1827         .wp-parser-class, .wp-parser-function, .wp-parser-hook, .wp-parser-method {
    1828             .table-of-contents {
    1829                 width: 100%;
    1830                 margin-bottom: 10px;
    1831             }
    1832 
    1833             section {
    1834                 overflow: inherit;
    1835             }
    1836 
    1837             hr {
    1838                 clear: both;
    1839             }
     1827        .table-of-contents {
     1828            float: none;
     1829            margin-left: 0;
     1830            width: 100%;
     1831        }
     1832
     1833        section {
     1834            overflow: inherit;
     1835        }
     1836
     1837        hr {
     1838            clear: both;
    18401839        }
    18411840    }
Note: See TracChangeset for help on using the changeset viewer.