Making WordPress.org


Ignore:
Timestamp:
01/23/2024 10:39:27 PM (14 months ago)
Author:
coffee2code
Message:

Theme Directory: Fix alignment of preview and download buttons at narrower viewports.

Also improves spacing between favorite icon and these buttons for all widths.

Props baroliyamayur, coffee2code.
Fixes #6803.

File:
1 edited

Legend:

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

    r13060 r13145  
    437437
    438438.theme-wrap .theme-actions {
     439    display: flex;
     440    gap: 5px;
    439441    margin: 0 0 1.5em;
    440442    text-align: center;
     
    18081810    font-size: 40px;
    18091811    width: 40px;
    1810     line-height: 1.5;
     1812    line-height: 1;
    18111813}
    18121814
     
    20542056    }
    20552057
     2058    .theme-wrap .theme-actions {
     2059        flex-flow: column wrap;
     2060    }
     2061
    20562062    .theme-wrap .theme-actions .button-primary,
    20572063    .theme-wrap .theme-actions .button-secondary {
     
    20632069        display: block;
    20642070        margin: 0;
    2065     }
    2066 
    2067     span.favorite.dashicons,
    2068     span.favorite.dashicons::before {
    2069         line-height: 1;
    20702071    }
    20712072
Note: See TracChangeset for help on using the changeset viewer.