1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

Lexical: Added context toolbar placement, added link toolbar

Also added some basic context toolbar styling
This commit is contained in:
Dan Brown
2024-06-30 19:52:09 +01:00
parent c9a03c5b01
commit b1c489090e
7 changed files with 75 additions and 6 deletions

View File

@@ -69,6 +69,30 @@
display: flex;
}
.editor-context-toolbar {
position: fixed;
background-color: #FFF;
border: 1px solid #DDD;
padding: .2rem;
border-radius: 4px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12);
&:before {
content: '';
z-index: -1;
display: block;
width: 8px;
height: 8px;
position: absolute;
background-color: #FFF;
border-top: 1px solid #DDD;
border-left: 1px solid #DDD;
transform: rotate(45deg);
left: 50%;
margin-left: -4px;
top: -5px;
}
}
// Modals
.editor-modal-wrapper {
position: fixed;