updated prompt styling

This commit is contained in:
zsviczian
2025-05-03 13:28:50 +02:00
parent 5b341cb5fb
commit 8cca77dcab
4 changed files with 110 additions and 11 deletions

View File

@@ -734,4 +734,41 @@ textarea.excalidraw-wysiwyg, .excalidraw input {
.excalidraw .context-menu {
height: fit-content;
}
}
.excalidraw-prompt-buttonbar-top,
.excalidraw-prompt-buttonbar-bottom {
display: flex;
flex-wrap: wrap;
align-items: flex-start; /* keep both rows topaligned */
row-gap: 0.5em; /* vertical space when wrapped */
}
/* top bar specifics */
.excalidraw-prompt-buttonbar-top {
padding: 0.5em 0;
border-top: 1px solid var(--background-modifier-border);
}
/* bottom bar specifics */
.excalidraw-prompt-buttonbar-bottom {
margin-top: 1rem;
}
/* make each child a flex row */
.excalidraw-prompt-buttonbar-top > div,
.excalidraw-prompt-buttonbar-bottom > div {
display: flex;
}
/* push the first group to the left */
.excalidraw-prompt-buttonbar-top > div:first-child,
.excalidraw-prompt-buttonbar-bottom > div:first-child {
margin-right: auto;
}
/* push the second group to the right */
.excalidraw-prompt-buttonbar-top > div:last-child,
.excalidraw-prompt-buttonbar-bottom > div:last-child {
margin-left: auto;
}