1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-07 23:03:00 +03:00

Lexical: Integrated diagram manager, added menu split button

This commit is contained in:
Dan Brown
2024-08-17 10:48:34 +01:00
parent ad6b26ba97
commit 0039f893cc
8 changed files with 103 additions and 9 deletions

View File

@@ -82,6 +82,31 @@ body.editor-is-fullscreen {
fill: currentColor;
display: block;
}
.editor-button-with-menu-container {
display: flex;
flex-direction: row;
gap: 0;
align-items: stretch;
border-radius: 4px;
.editor-dropdown-menu-container {
display: flex;
}
.editor-dropdown-menu-container > .editor-dropdown-menu {
top: 100%;
}
.editor-dropdown-menu-container > .editor-button {
padding-inline: 4px;
margin-inline-start: -3px;
svg {
width: 12px;
height: 12px;
}
}
&:hover {
outline: 1px solid #DDD;
outline-offset: -3px;
}
}
// Containers
.editor-dropdown-menu-container {