Fix input styling

This commit is contained in:
Mike Jolley 2014-07-22 11:56:52 +01:00
parent 0c5be5f054
commit c65cd44aef
3 changed files with 5 additions and 11 deletions

File diff suppressed because one or more lines are too long

View File

@ -848,12 +848,8 @@ ul.wc_coupon_list_block {
th.line_tax {
white-space: nowrap;
}
.line_tax {
th.line_tax, td.line_tax {
padding: 8px 18px 8px 8px;
.line_tax_wrapper {
position: relative;
display: block;
}
.delete-order-tax {
.ir;
font-size: 12px;

View File

@ -40,11 +40,9 @@ if ( 'yes' == get_option( 'woocommerce_calc_taxes' ) ) {
<th class="line_tax tips" data-tip="<?php
echo esc_attr( $tax_item['name'] . ' (' . $tax_class_name . ')' );
?>">
<span class="line_tax_wrapper">
<?php echo esc_attr( $column_label ); ?>
<input type="hidden" name="order_taxes[<?php echo $tax_id; ?>]" value="<?php echo esc_attr( $tax_item['rate_id'] ); ?>">
<a class="delete-order-tax" href="#" data-rate_id="<?php echo $tax_id; ?>"></a>
</span>
<?php echo esc_attr( $column_label ); ?>
<input type="hidden" name="order_taxes[<?php echo $tax_id; ?>]" value="<?php echo esc_attr( $tax_item['rate_id'] ); ?>">
<a class="delete-order-tax" href="#" data-rate_id="<?php echo $tax_id; ?>"></a>
</th>
<?php
endforeach;