Making WordPress.org

Changeset 6341


Ignore:
Timestamp:
01/10/2018 07:21:43 PM (7 years ago)
Author:
obenland
Message:

GP: Make all of project button clickable.

H/t garrett-eclipse

Fixes #3370.

Location:
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/locale-projects.php

    r5502 r6341  
    204204
    205205            <div class="project-bottom">
    206                 <div class="button contribute-button">
    207                     <?php echo gp_link_get( $project_url, 'Translate Project' ) ?>
    208                 </div>
     206                <?php echo gp_link_get( $project_url, 'Translate Project', [ 'class' => 'button contribute-button' ] ); ?>
    209207            </div>
    210208        </div>
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/templates/style.css

    r6306 r6341  
    689689}
    690690
    691 .contribute-button {
    692     min-height: 26px;
    693 }
    694 
    695 .contribute-button a {
    696     vertical-align: baseline;
     691a.contribute-button {
    697692    color: #555;
    698693    line-height: 26px;
     
    701696    -webkit-border-radius: 3px;
    702697    border-radius: 3px;
     698    min-height: 26px;
     699    vertical-align: baseline;
    703700    white-space: nowrap;
    704701}
    705702
    706 .contribute-button a:hover {
     703a.contribute-button:hover {
    707704    color: #333;
    708705}
Note: See TracChangeset for help on using the changeset viewer.