Making WordPress.org


Ignore:
Timestamp:
04/01/2022 07:20:03 AM (3 years ago)
Author:
coffee2code
Message:

Photo Directory: Refactor adding of inline margins on single photo pages at smaller viewports to streamline and to incorporate other elements.

Props umesh84, coffee2code.
Fixes #6240.

File:
1 edited

Legend:

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

    r11730 r11731  
    177177    .entry-header {
    178178        margin-bottom: 1rem;
    179 
     179    }
     180
     181    .entry-footer {
     182        margin-top: 2rem;
     183    }
     184
     185    .entry-header,
     186    .entry-footer {
    180187        @include breakpoint( 0, 960px ) {
    181188            margin-left: 20px;
    182189            margin-right: 20px;
    183190        }
    184     }
    185 
    186     .entry-footer {
    187         margin-top: 2rem;
    188191    }
    189192}
     
    308311            min-width: 80px;
    309312        }
    310     }
    311 
    312     @include breakpoint( 0, 960px ) {
    313         margin-left: 20px;
    314         margin-right: 20px;
    315313    }
    316314
Note: See TracChangeset for help on using the changeset viewer.