Skip to content

Commit 1cd2df7

Browse files
author
Natalia Momotenko
committed
MAGETWO-36480: Widget UI issues on Frontend
1 parent 38019d8 commit 1cd2df7

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,14 @@
10171017
position: relative;
10181018
}
10191019
input {
1020-
margin-right: @indent__s;
1021-
width: calc(~"100% - (@{icon-calendar__font-size} + @{indent__s})");
1020+
&:extend(.abs-field-date-input);
10221021
}
10231022
}
1023+
1024+
//
1025+
// Form Field Date Input
1026+
//--------------------------------------
1027+
.abs-field-date-input {
1028+
margin-right: @indent__s;
1029+
width: calc(~"100% - (@{icon-calendar__font-size} + @{indent__s})");
1030+
}

app/design/frontend/Magento/blank/web/css/source/_forms.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ select:focus ~ .tooltip .tooltip-content {
143143
.legend {
144144
&:extend(.abs-margin-for-forms-desktop all);
145145
}
146-
> .field {
146+
> .field,
147+
> .fields > .field {
147148
.form-field-type-revert();
148149
margin: 0 0 @form-field__vertical-indent__desktop;
149150
}

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,7 +1334,14 @@
13341334
&:extend(.abs-add-box-sizing all);
13351335
}
13361336
input {
1337-
width: calc(~"100% - (@{icon-calendar__font-size} + @{indent__s})");
1338-
margin-right: @indent__s;
1337+
&:extend(.abs-field-date-input);
13391338
}
13401339
}
1340+
1341+
//
1342+
// Form Field Date Input
1343+
//--------------------------------------
1344+
.abs-field-date-input {
1345+
margin-right: @indent__s;
1346+
width: calc(~"100% - (@{icon-calendar__font-size} + @{indent__s})");
1347+
}

0 commit comments

Comments
 (0)