Skip to content

Commit f8a8056

Browse files
Update slash-menu.js
1 parent b0eaf69 commit f8a8056

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

blocks/edit/prose/plugins/slashMenu/slash-menu.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ function isColorCode(str) {
1313

1414
function createColorSquare(color) {
1515
return html`
16-
<div style="display: flex; align-items: center;">
17-
<div style="width: 20px; height: 20px; background: ${color}; margin: -5px 5px -5px -5px;"></div>
18-
</div>
16+
<div style="width: 24px; height: 24px; background: ${color}; margin-left: -4px;"></div>
1917
`;
2018
}
2119

0 commit comments

Comments
 (0)