Making WordPress.org


Ignore:
Timestamp:
02/02/2023 08:55:58 PM (15 months ago)
Author:
coffee2code
Message:

Photo Directory: Prevent first column of single photo pages (photo taxonomies and metadata) from potentially becoming full-width at non-small viewports.

File:
1 edited

Legend:

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

    r12204 r12381  
    321321.photo-meta {
    322322    display: flex;
    323     flex-flow: row wrap;
     323    flex-flow: row nowrap;
    324324    justify-content: space-around;
     325
     326    @include breakpoint( 0, 600px ) {
     327        flex-wrap: wrap;
     328    }
    325329
    326330    .column {
    327331        flex: 2 1 auto;
    328332        margin-bottom: 2rem;
     333        min-width: 250px;
     334
     335        &:first-child {
     336            @include breakpoint( 0, 600px ) {
     337                margin-bottom: 1rem;
     338            }
     339        }
    329340
    330341        &:last-child {
Note: See TracChangeset for help on using the changeset viewer.