WordPress.org

Making WordPress.org

Changeset 1929


Ignore:
Timestamp:
09/30/2015 07:38:28 PM (4 years ago)
Author:
ocean90
Message:

WordPress.org Themes: Don't hide the download button on narrow screens.

Props ramiy.
Fixes #1272.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes
Files:
3 edited

Legend:

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

    r1927 r1929  
    4545        $stylesheet = str_replace( '.css', '-rtl.css', $stylesheet );
    4646    }
    47     wp_enqueue_style( 'wporg-themes', $stylesheet, array(), 5 );
     47    wp_enqueue_style( 'wporg-themes', $stylesheet, array(), 6 );
    4848
    4949    if ( ! is_singular( 'page' ) ) {
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/style-rtl.css

    r1927 r1929  
    17011701    }
    17021702
    1703     .theme-wrap .theme-actions .button-primary {
    1704         display: none;
    1705     }
    1706 
     1703    .theme-wrap .theme-actions .button-primary,
    17071704    .theme-wrap .theme-actions .button-secondary {
    17081705        font-size: 18px;
    17091706        height: auto;
    1710         padding: 0.5em 0;
    1711         width: 100%;
    17121707    }
    17131708
     
    17771772    .theme-browser .themes .theme {
    17781773        margin-left: 0;
     1774    }
     1775
     1776    .theme-wrap .theme-actions .button-primary,
     1777    .theme-wrap .theme-actions .button-secondary {
     1778        width: 100%;
     1779        margin: 5px 0;
    17791780    }
    17801781
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/style.css

    r1927 r1929  
    17011701    }
    17021702
    1703     .theme-wrap .theme-actions .button-primary {
    1704         display: none;
    1705     }
    1706 
     1703    .theme-wrap .theme-actions .button-primary,
    17071704    .theme-wrap .theme-actions .button-secondary {
    17081705        font-size: 18px;
    17091706        height: auto;
    1710         padding: 0.5em 0;
    1711         width: 100%;
    17121707    }
    17131708
     
    17771772    .theme-browser .themes .theme {
    17781773        margin-right: 0;
     1774    }
     1775
     1776    .theme-wrap .theme-actions .button-primary,
     1777    .theme-wrap .theme-actions .button-secondary {
     1778        width: 100%;
     1779        margin: 5px 0;
    17791780    }
    17801781
Note: See TracChangeset for help on using the changeset viewer.