Making WordPress.org

Changeset 1236


Ignore:
Timestamp:
02/09/2015 08:41:59 PM (9 years ago)
Author:
obenland
Message:

WP.org Themes: Improve responsive styles for feature filters.

  • Only applies a fixed hight when filter groups are not stacked. Props BrashRebel.
  • Keps a top margin for the last filter group when stacked.
  • Displays filters fluently to maximise hrizontal space on small screens.

Fixes #863.

File:
1 edited

Legend:

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

    r1235 r1236  
    566566
    567567.filter-group:last-of-type {
    568     margin: 0;
     568    margin-right: 0;
    569569}
    570570
     
    881881
    882882    .filter-group {
     883        height: auto;
    883884        margin-bottom: 0;
    884885        margin-top: 5px;
     
    913914    }
    914915
    915     .filter-group,
    916     .filter-group li {
    917         width: 100%;
    918     }
    919 
    920916    .theme-wrap .theme-screenshots {
    921917        float: none;
Note: See TracChangeset for help on using the changeset viewer.