mirror of
https://github.com/docmost/docmost.git
synced 2026-05-07 06:23:06 +08:00
b76f5adaad
* feat(ee): AI menu * - Add insert below and copy option * prebuild @editor-ext * sanitize output * clear existing output * switch to menu component * refactor directory * separator * refactor directory * support more languages * pass markdown to model * fix: close AI menu on page change * enhance text input and preview styling * fix: Use absolute positioning for the AI menu * make preview scrollable * activation controls * enhance bubble menu * sync * set width * fix line break * switch terminologies * cloud * buffer --------- Co-authored-by: Philipinho <16838612+Philipinho@users.noreply.github.com>
39 lines
746 B
CSS
39 lines
746 B
CSS
.bubbleMenu {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
overflow-x: auto;
|
|
max-width: 100vw;
|
|
width: fit-content;
|
|
box-shadow: 0 4px 12px light-dark(#cfcfcf, #0f0f0f);
|
|
border-radius: 6px;
|
|
border: 1px solid
|
|
light-dark(var(--mantine-color-gray-3), var(--mantine-color-gray-8));
|
|
|
|
> * {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
scrollbar-width: none;
|
|
|
|
&::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.active {
|
|
color: light-dark(var(--mantine-color-blue-8), var(--mantine-color-gray-5));
|
|
}
|
|
}
|
|
|
|
.buttonRoot {
|
|
height: 34px;
|
|
padding-left: rem(8);
|
|
padding-right: rem(4);
|
|
border: none;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.buttonSeparator {
|
|
border-right: 1px solid
|
|
light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4)) !important;
|
|
}
|