Skip to content

Commit ea84855

Browse files
ENGCOM-5070: fixed-Discount-Code-improvement-21214 #21215
- Merge Pull Request #21215 from abrarpathan19/magento2:Discount-Code-improvement-21214 - Merged commits: 1. b4aa299 2. a8a3535 3. 02651e9 4. adffe54
2 parents 19fcb92 + adffe54 commit ea84855

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/checkout/_checkout.less

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,36 @@
7676
display: none;
7777
}
7878
}
79+
80+
.abs-discount-code {
81+
.actions-toolbar {
82+
display: table-cell;
83+
vertical-align: top;
84+
width: 1%;
85+
86+
.primary {
87+
float: left;
88+
.action {
89+
&:extend(.abs-revert-to-action-secondary all);
90+
border-bottom-left-radius: 0;
91+
border-top-left-radius: 0;
92+
margin: 0 0 0 -2px;
93+
white-space: nowrap;
94+
width: auto;
95+
}
96+
}
97+
}
98+
.form-discount {
99+
display: table;
100+
width: 100%;
101+
102+
> .field {
103+
> .label {
104+
display: none;
105+
}
106+
}
107+
}
108+
}
79109
}
80110

81111
//

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,17 @@
6969

7070
.payment-option-content {
7171
.lib-css(padding, 0 0 @indent__base @checkout-payment-option-content__padding__xl);
72+
73+
&:extend(.abs-discount-code all);
74+
7275
.primary {
7376
.action {
7477
&.action-apply {
7578
margin-right: 0;
7679
}
7780
}
7881
}
82+
7983
}
8084

8185
.payment-option-inner {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1913,6 +1913,7 @@
19131913
display: table-cell;
19141914
}
19151915
}
1916+
19161917
}
19171918

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

0 commit comments

Comments
 (0)