Skip to content

Commit 990651c

Browse files
committed
MAGETWO-92074: Bug Fixing
Fix image uploader container preventing live editing of buttons for slide/banner content types
1 parent 852b747 commit 990651c

File tree

1 file changed

+11
-1
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/css/source/form/element/uploader/preview

1 file changed

+11
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/form/element/uploader/preview/_image.less

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
.pagebuilder-image-uploader-container {
1616
align-items: center;
1717
display: flex;
18+
visibility: hidden;
1819

1920
&.has-data {
2021
height: 100%;
@@ -79,6 +80,11 @@
7980
}
8081
}
8182

83+
&.dragging,
84+
&._loading .file-uploader-spinner {
85+
visibility: visible;
86+
}
87+
8288
&.dragging .pagebuilder-image-uploader-container-dropzone-overlay {
8389
align-items: center;
8490
border-style: dashed;
@@ -108,7 +114,7 @@
108114
top: 0;
109115
width: 100%;
110116
}
111-
117+
112118
&.dragging .file-uploader {
113119
visibility: hidden;
114120
}
@@ -144,3 +150,7 @@
144150
padding: 12px 6px;
145151
}
146152
}
153+
154+
.pagebuilder-content-type-active .pagebuilder-image-uploader-container .pagebuilder-options {
155+
visibility: visible;
156+
}

0 commit comments

Comments
 (0)