Skip to content

Commit 9af6041

Browse files
author
Hwashiang Yu
committed
MC-3948: Sync with slider wysiwyg implementation
- Updated wysiwyg background to white - Fixed wysiwyg border on collages to not have extra spacing"
1 parent 62104a0 commit 9af6041

File tree

1 file changed

+8
-6
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/banner

1 file changed

+8
-6
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/banner/_default.less

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,16 @@
3333
}
3434

3535
.pagebuilder-banner-text-content {
36-
padding: 0 20px;
3736
position: relative;
3837

39-
&.pagebuilder-toolbar-active {
40-
box-shadow: 0 0 0 1px @color-gray80;
41-
}
4238
.mce-tinymce-inline {
4339
left: 0;
4440
right: 0;
4541
z-index: 20;
4642
}
4743
> .mce-content-body {
4844
min-height: 50px;
49-
padding: 5px 0 !important;
45+
padding: 5px 20px !important;
5046

5147
+ .placeholder-text {
5248
font-size: 14px;
@@ -63,7 +59,6 @@
6359
}
6460

6561
.inline-wysiwyg-textarea {
66-
background-color: transparent;
6762
border: 0;
6863
margin: 2px 0;
6964
min-height: 50px;
@@ -77,5 +72,12 @@
7772
resize: vertical;
7873
}
7974
}
75+
76+
&.pagebuilder-toolbar-active {
77+
.inline-wysiwyg,
78+
.inline-wysiwyg-textarea {
79+
box-shadow: 0 0 0 1px @color-gray80;
80+
}
81+
}
8082
}
8183
}

0 commit comments

Comments
 (0)