Skip to content

Commit 5a0680c

Browse files
committed
Fix #24060 - Terms and Conditions label doesn't fit longer texts
1 parent 00f8a8c commit 5a0680c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

app/design/frontend/Magento/blank/Magento_Checkout/web/css/source/module/checkout/_checkout-agreements.less

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,30 @@
1313
margin-bottom: @indent__base;
1414
}
1515

16+
.checkout-agreement.field {
17+
.lib-vendor-prefix-display();
18+
19+
&.required {
20+
label:after {
21+
content: none;
22+
}
23+
24+
.action-show {
25+
&:after {
26+
content: '*';
27+
.lib-typography(
28+
@_font-size: @form-field-label-asterisk__font-size,
29+
@_color: @form-field-label-asterisk__color,
30+
@_font-family: @form-field-label-asterisk__font-family,
31+
@_font-weight: @form-field-label-asterisk__font-weight,
32+
@_line-height: @form-field-label-asterisk__line-height,
33+
@_font-style: @form-field-label-asterisk__font-style
34+
);
35+
}
36+
}
37+
}
38+
}
39+
1640
.action-show {
1741
&:extend(.abs-action-button-as-link all);
1842
vertical-align: baseline;

0 commit comments

Comments
 (0)