Make WordPress Core

Changeset 34095


Ignore:
Timestamp:
09/13/2015 12:53:14 PM (9 years ago)
Author:
helen
Message:

Comments: Fix inline edit/reply on small screens.

Merges [34094] to the 4.3 branch.

props ocean90, SergeyBiryukov.
see #33596.

Location:
branches/4.3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/4.3

  • branches/4.3/src/wp-admin/css/list-tables.css

    r33623 r34095  
    18211821    }
    18221822
    1823     #comments-form .fixed .column-author {
     1823    #comments-form .fixed .column-author,
     1824    #commentsdiv .fixed .column-author {
    18241825        display: none !important;
    18251826    }
     
    19751976    }
    19761977
     1978    #edithead .inside,
     1979    #commentsdiv #edithead .inside {
     1980        float: none;
     1981        text-align: left;
     1982        padding: 3px 5px;
     1983    }
     1984
     1985    #commentsdiv #edithead .inside input,
     1986    #edithead .inside input {
     1987        width: 100%;
     1988    }
     1989
     1990    #edithead label {
     1991        display: block;
     1992    }
     1993
    19771994    #bulk-titles div {
    19781995        margin: 0.8em 0.3em;
  • branches/4.3/src/wp-admin/includes/template.php

    r33593 r34095  
    479479<form method="get">
    480480<?php if ( $table_row ) : ?>
    481 <table style="display:none;"><tbody id="com-reply"><tr id="replyrow" style="display:none;"><td colspan="<?php echo $wp_list_table->get_column_count(); ?>" class="colspanchange">
     481<table style="display:none;"><tbody id="com-reply"><tr id="replyrow" class="inline-edit-row" style="display:none;"><td colspan="<?php echo $wp_list_table->get_column_count(); ?>" class="colspanchange">
    482482<?php else : ?>
    483483<div id="com-reply" style="display:none;"><div id="replyrow" style="display:none;">
  • branches/4.3/src/wp-admin/js/edit-comments.js

    r32857 r34095  
    373373        act = 'edit' == action ? 'edit' : 'replyto';
    374374        act = t.act = act + '-comment';
     375
     376        $( 'td', editRow ).attr( 'colspan', $( 'th:visible, td:visible', c ).length );
    375377
    376378        $('#action', editRow).val(act);
Note: See TracChangeset for help on using the changeset viewer.