WordPress.org

Making WordPress.org

Changeset 9518


Ignore:
Timestamp:
02/20/2020 10:39:07 PM (2 years ago)
Author:
coffee2code
Message:

Showcase: Fix a couple homepage UI issues.

  • Fix flow of featured business site cards at certain viewports when first card is taller.
  • Reduce vertical spacing between rows of cards.

Props mansi-trivedi, coffee2code.
Fixes #3968.

File:
1 edited

Legend:

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

    r9517 r9518  
    727727    list-style: none;
    728728
    729     min-height: 310px;
     729    min-height: 280px;
    730730    width: 29%;
    731731
     
    818818    .home .main-content h3 {
    819819        margin-top: 1.5em;
     820        clear: both;
    820821    }
    821822
     
    880881    }
    881882
     883    .home .wpsc-recent > li:nth-child(odd) {
     884        clear: left;
     885    }
     886
    882887    .rightsidebar {
    883888        display: inline-block;
     
    914919@media ( max-width: 340px ) {
    915920    .home .wpsc-recent > li {
     921        padding-left: 8px;
     922        padding-right: 8px;
    916923        width: 95%;
    917924    }
Note: See TracChangeset for help on using the changeset viewer.