Skip to content

Commit a3ead0a

Browse files
authored
Only show inline boundaries on focus (#881)
1 parent 23c5f87 commit a3ead0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blocks/editable/style.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
color: $blue-medium;
2020
}
2121

22-
a[data-mce-selected] {
22+
&:focus a[data-mce-selected] {
2323
padding: 0 2px;
2424
margin: 0 -2px;
2525
border-radius: 2px;
@@ -36,7 +36,7 @@
3636
font-size: 14px;
3737
}
3838

39-
code[data-mce-selected] {
39+
&:focus code[data-mce-selected] {
4040
background: $light-gray-400;
4141
}
4242

0 commit comments

Comments
 (0)