Skip to content

Commit

Permalink
Merge pull request #1241 from rern/UPDATE
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
rern authored Feb 18, 2023
2 parents 1740c47 + 478478e commit bd9f50d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion srv/http/assets/js/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,11 @@ function info( json ) {
if ( $( '#infoContent select' ).length ) selectSet(); // render select to set width
if ( $( '#infoContent tr:eq( 0 ) td' ).length > 1 ) { // column gutter
var $td1st = $( '#infoContent td:first-child' );
$td1st.css( 'padding-right', $td1st.find( 'input' ).length ? '10px' : '5px' ); // checkbox/radio gutter : text label
var input = $td1st.find( 'input' ).length;
$td1st.css( {
'padding-right': input ? '10px' : '5px' // checkbox/radio gutter : text label
, 'text-align' : input ? '' : 'right' // text label
} );
}
if ( ( I.messagealign || I.footeralign ) && $( '#infoContent table' ) ) {
var tblW = $( '#infoContent table' ).width();
Expand Down

0 comments on commit bd9f50d

Please sign in to comment.