Skip to content

Commit

Permalink
use background
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischrischris committed Feb 23, 2025
1 parent 2b5a0e5 commit 14e3f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/edit/prose/plugins/slashMenu/slash-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function isColorCode(str) {
function createColorSquare(color) {
return html`
<div style="display: flex; align-items: center;">
<div style="width: 10px; height: 10px; background-color: ${color}; margin-right: 5px;"></div>
<div style="width: 10px; height: 10px; background: ${color}; margin-right: 5px;"></div>
</div>
`;
}
Expand Down

0 comments on commit 14e3f9e

Please sign in to comment.