Skip to content

Commit

Permalink
💄(frontend) text color on Blocknote code block options
Browse files Browse the repository at this point in the history
The options for the code block in the Blocknote
editor was not visible. We changed the text color
to make it visible.
A fix will be made to the code block options in the
next blocknote release.
  • Loading branch information
AntoLC committed Nov 14, 2024
1 parent d75c866 commit 2323156
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ const cssEditor = (readonly: boolean) => `
padding: 2px;
border-radius: 4px;
}
/* @TODO: A fix is made in v0.19.1 - This code can be removed after the upgrade */
.bn-block-content[data-content-type=codeBlock]>div>select option{
color: black;
background-color: white;
}
@media screen and (width <= 560px) {
& .bn-editor {
padding-left: 40px;
Expand Down

0 comments on commit 2323156

Please sign in to comment.