💄(frontend) text color on Blocknote code block options
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.
This commit is contained in:
@@ -42,6 +42,11 @@ const cssEditor = (readonly: boolean) => `
|
|||||||
padding: 2px;
|
padding: 2px;
|
||||||
border-radius: 4px;
|
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) {
|
@media screen and (width <= 560px) {
|
||||||
& .bn-editor {
|
& .bn-editor {
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
|
|||||||
Reference in New Issue
Block a user