Skip to content

Commit 8299296

Browse files
committed
#637: Form field/field group viewport scope - added styling for mobile icon tooltip with min height fields that contain notice and without notice
1 parent a2a3976 commit 8299296

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/tabs/_import.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@
88
// _____________________________________________
99

1010
@import './_default.less';
11-
@import './_mobile.less';

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/form/element/_import.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
@import 'uploader/preview/_image.less';
1414
@import '_visual-select.less';
1515
@import '_product-totals.less';
16+
@import '_mobile.less';

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/tabs/_mobile.less renamed to app/code/Magento/PageBuilder/view/adminhtml/web/css/source/form/element/_mobile.less

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66
//
77
// Default appearance styles rendered through Mobile viewport
88
// _____________________________________________________
9-
.admin__fieldset .admin__field.admin__field-min-height-mobile {
9+
.admin__fieldset .admin__field.admin__field-min-height-mobile,
10+
.admin__fieldset .admin__field.admin__field-min-height-mobile-with-notice {
1011
.admin__field-control._with-tooltip {
11-
display: flex;
12-
width: 17.9rem;
13-
1412
.admin__control-addon {
1513
max-width: inherit;
1614
}
@@ -62,3 +60,20 @@
6260
}
6361
}
6462
}
63+
64+
.admin__fieldset .admin__field.admin__field-min-height-mobile {
65+
.admin__field-control._with-tooltip {
66+
display: flex;
67+
width: 17.9rem;
68+
}
69+
}
70+
71+
.admin__fieldset .admin__field.admin__field-min-height-mobile-with-notice {
72+
.admin__field-control._with-tooltip {
73+
width: 38.9rem;
74+
}
75+
76+
.admin__field-note {
77+
width: 34.9rem;
78+
}
79+
}

0 commit comments

Comments
 (0)