Skip to content

Commit

Permalink
ENGCOM-6967: Fix #26917 Tax rate zip/post range check box alignment i…
Browse files Browse the repository at this point in the history
…ssue #26932
  • Loading branch information
slavvka authored Feb 25, 2020
2 parents f6764ad + 7546bbc commit 976d045
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion app/code/Magento/Tax/Block/Adminhtml/Rate/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,12 @@ protected function _prepareForm()
$fieldset->addField(
'zip_is_range',
'checkbox',
['name' => 'zip_is_range', 'label' => __('Zip/Post is Range'), 'value' => '1']
[
'name' => 'zip_is_range',
'label' => __('Zip/Post is Range'),
'value' => '1',
'class' => 'zip-is-range-checkbox'
]
);

if (!isset($formData['tax_postcode'])) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

.block.mselect-list.paginated {
.admin__action-multiselect-search-wrap {
border:1px solid @color-gray80;
border: 1px solid @color-gray80;
border-bottom: none;
border-radius: 3px;
margin: 0;
Expand All @@ -25,3 +25,9 @@
font-size: 1.3rem;
}
}

.admin__fieldset > .admin__field > .admin__field-control {
input.zip-is-range-checkbox {
margin: 8px 0 0 0;
}
}

0 comments on commit 976d045

Please sign in to comment.