Skip to content

Commit ad166a2

Browse files
MC-3735: Allow inline WYSIWYG editing of slides
- Text align center for textarea - Add border when textarea in focus
1 parent 0ae34b3 commit ad166a2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979

8080
&:focus {
8181
resize: vertical;
82+
box-shadow: 0 0 0 1px @color-gray80;
8283
}
8384
}
8485
}

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/slide/_poster.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
justify-content: center;
1818
transition: background-color 500ms ease;
1919

20-
.wysiwyg-container {
20+
.inline-wysiwyg-textarea, .wysiwyg-container {
2121
text-align: center;
2222
width: 100%;
2323
}

0 commit comments

Comments
 (0)