Skip to content

Commit ac77185

Browse files
Made Toolbar component display: none with no children (#649)
1 parent d147b49 commit ac77185

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/react/src/editor/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,10 @@
326326
width: fit-content;
327327
}
328328

329+
.bn-container .bn-toolbar:empty {
330+
display: none;
331+
}
332+
329333
.bn-container .bn-toolbar .mantine-Button-root,
330334
.bn-container .bn-toolbar .mantine-ActionIcon-root {
331335
background-color: var(--bn-colors-menu-background);

0 commit comments

Comments
 (0)