Skip to content

Commit 196405c

Browse files
AnujNehraAnujNehra
authored andcommitted
ACP2E-2247: [Cloud] Misleading prompts on Additional Settings section when setting up a Tax Rule:
1 parent 358ba85 commit 196405c

File tree

5 files changed

+10
-15
lines changed

5 files changed

+10
-15
lines changed

app/code/Magento/Tax/Test/Mftf/Test/AdminCheckTaxForDetailsTagExpandCollapseTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
<description value="Checking expand and collapse icon for additional settings"/>
1717
<severity value="AVERAGE"/>
1818
<testCaseId value="AC-9376"/>
19+
<useCaseId value="ACP2E-2247"/>
1920
<group value="tax"/>
2021
<group value="sales"/>
2122
</annotations>

app/code/Magento/Tax/view/adminhtml/layout/tax_rule_edit.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<head>
1010
<link src="Magento_Tax::js/bootstrap.js"/>
1111
<css src="jquery/editableMultiselect/css/jquery.multiselect.css"/>
12-
<css src="Magento_Tax::css/tax.css"/>
1312
</head>
1413
<body>
1514
<referenceContainer name="content">

app/code/Magento/Tax/view/adminhtml/templates/rule/edit.phtml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,7 @@ $scriptString.= <<<script
318318
319319
window.TaxRateEditableMultiselect = TaxRateEditableMultiselect;
320320
});
321-
script;
322-
$scriptString.= <<<script
321+
323322
require(['jquery'], function($) {
324323
jQuery('.admin__collapsible-block-wrapper').on('click', function () {
325324
if(!this.hasAttribute('open')) {

app/code/Magento/Tax/view/adminhtml/web/css/tax.css

Lines changed: 0 additions & 12 deletions
This file was deleted.

app/design/adminhtml/Magento/backend/Magento_Tax/web/css/source/_module.less

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,11 @@
2525
font-size: 1.3rem;
2626
}
2727
}
28+
29+
.admin__collapsible-block-wrapper.__show .admin__collapsible-title.__show:before {
30+
content: @icon-expand-close__content;
31+
font-size: @collapsible-title-icon__size;
32+
position: absolute;
33+
right: @data-grid__font-size;
34+
top: 2.3rem;
35+
}

0 commit comments

Comments
 (0)