Skip to content

Commit c5f89ee

Browse files
committed
MC-4012: Remove redundant focus state on Text
- remove focus on text and heading
1 parent a681d20 commit c5f89ee

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_inline-wysiwyg.less

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
// Source -> Inline WYSIWYG
88
// _____________________________________________
99

10+
._keyfocus {
11+
.inline-wysiwyg {
12+
&:focus {
13+
box-shadow: none;
14+
}
15+
}
16+
}
17+
1018
.inline-wysiwyg {
1119
.magento-placeholder {
1220
height: auto;

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,23 @@
77
// Default appearance styles
88
// _____________________________________________
99

10+
._keyfocus {
11+
[data-content-type='heading'] {
12+
&:focus {
13+
box-shadow: none;
14+
}
15+
}
16+
}
17+
1018
.pagebuilder-heading {
1119
&.pagebuilder-content-type {
1220
display: block;
21+
22+
&:focus {
23+
box-shadow: none;
24+
}
1325
}
26+
1427
> div {
1528
margin: 0;
1629
padding: 0;

0 commit comments

Comments
 (0)