WordPress.org

Make WordPress Core

Ticket #30729: 30729.diff

File 30729.diff, 1.2 KB (added by voldemortensen, 4 years ago)
  • src/wp-admin/css/themes.css

     
    119119}
    120120
    121121.theme-browser .theme .theme-actions .button-primary {
    122         margin-right: 3px;
     122        margin-left: 6px;
    123123}
    124124
    125125.theme-browser .theme .theme-actions .button-secondary {
    126126        float: none;
    127         margin-left: 3px;
     127        margin-right: 3px;
    128128}
    129129
    130130/**
  • src/wp-admin/theme-install.php

     
    207207        <h3 class="theme-name">{{ data.name }}</h3>
    208208
    209209        <div class="theme-actions">
    210                 <a class="button button-primary" href="{{ data.install_url }}"><?php esc_html_e( 'Install' ); ?></a>
    211                 <a class="button button-secondary preview install-theme-preview" href="#"><?php esc_html_e( 'Preview' ); ?></a>
     210                <a class="button button-secondary" href="{{ data.install_url }}"><?php esc_html_e( 'Install' ); ?></a>
     211                <a class="button button-primary preview install-theme-preview" href="#"><?php esc_html_e( 'Preview' ); ?></a>
    212212        </div>
    213213
    214214        <# if ( data.installed ) { #>