Skip to content

Commit b4aa299

Browse files
committed
fixed-Discount-Code-improvement-21214
1 parent 5f258f2 commit b4aa299

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/checkout/_payment-options.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969

7070
.payment-option-content {
7171
.lib-css(padding, 0 0 @indent__base @checkout-payment-option-content__padding__xl);
72+
&:extend(.abs-discount-code all);
7273
}
7374

7475
.payment-option-inner {

app/design/frontend/Magento/luma/web/css/source/_extends.less

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1913,6 +1913,36 @@
19131913
display: table-cell;
19141914
}
19151915
}
1916+
1917+
.abs-discount-code {
1918+
.actions-toolbar {
1919+
display: table-cell;
1920+
vertical-align: top;
1921+
width: 1%;
1922+
1923+
.primary {
1924+
float: left;
1925+
.action {
1926+
&:extend(.abs-revert-to-action-secondary all);
1927+
border-bottom-left-radius: 0;
1928+
border-top-left-radius: 0;
1929+
margin: 0 0 0 -2px;
1930+
white-space: nowrap;
1931+
width: auto;
1932+
}
1933+
}
1934+
}
1935+
.form-discount {
1936+
display: table;
1937+
width: 100%;
1938+
1939+
> .field {
1940+
> .label {
1941+
display: none;
1942+
}
1943+
}
1944+
}
1945+
}
19161946
}
19171947

19181948
.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {

0 commit comments

Comments
 (0)