Skip to content

Commit 539353c

Browse files
committed
#637: Form field/field group viewport scope - added mobile icon and finalized styling
1 parent c32da94 commit 539353c

File tree

2 files changed

+20
-11
lines changed

2 files changed

+20
-11
lines changed
Lines changed: 8 additions & 0 deletions
Loading

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

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,30 +9,31 @@
99
.admin__fieldset .admin__field.admin__field-min-height-mobile {
1010
.admin__field-control._with-tooltip {
1111
display: flex;
12-
width: 18.6rem;
12+
width: 19.6rem;
1313

1414
.admin__control-addon {
1515
max-width: inherit;
1616
}
1717

1818
.admin__field-tooltip {
19-
margin-left: 15px;
19+
margin-left: 19px;
2020
}
2121

2222
.admin__field-tooltip-action {
2323
&:before {
24-
//content: url();
24+
content: url("@{baseDir}Magento_PageBuilder/css/images/form/element/mobile-icon.svg");
2525
}
2626
}
2727

2828
.admin__field-tooltip-content {
29-
background: rgba(49, 48, 43, .8);
29+
background: #707070;
3030
border: none;
3131
bottom: auto;
3232
box-shadow: unset;
33-
left: -1.5rem;
33+
left: -1.9rem;
34+
opacity: 0.9;
3435
padding: 6px 15px 2px;
35-
top: 3.5rem;
36+
top: 3rem;
3637
right: auto;
3738
width: 16rem;
3839

@@ -42,16 +43,16 @@
4243
}
4344

4445
&:before {
45-
border-bottom: 4px solid rgba(49, 48, 43, .8);
46-
border-left: 5px solid transparent;
47-
border-right: 5px solid transparent;
46+
border-bottom: 7px solid #707070;
47+
border-left: 4px solid transparent;
48+
border-right: 4px solid transparent;
4849
border-top: unset;
4950
content: '';
5051
height: 0;
51-
left: 23px;
52+
left: 20px;
5253
opacity: 0.9;
5354
position: absolute;
54-
top: -4px;
55+
top: -5px;
5556
width: 0;
5657
}
5758

0 commit comments

Comments
 (0)