mirror of
https://github.com/docmost/docmost.git
synced 2026-05-16 14:14:06 +08:00
657fdf8cb7
* Tiptap3 migration - WIP * fix collaboration * remove unused code * fix flicker * disable duplicate extensions * update tiptap version * Switch to useEditorState - Set shouldRerenderOnTransaction to false * fix editable state * add tippyoptions for reference * merge main * tiptap 3.6.1 * fix bubble menu * fix converter * fix menus * fix collaboration caret css * fix: Set `isInitialized` to force immediate react node view rendering * feat: Migrate tippy.js menus to Floating UI * feat: Update collaboration connection for HocusPocus v3 * fix: Connect/disconnect websocketProvider * cleanup * cleanup * feat: Improved placeholder and upload handling for images * feat: Improved placeholder and upload handling for videos * refactor: Image node and view clean-up * feat: Improved placeholder and upload handling for attachments * fix: Video view styles * fix: Transaction handling on asset upload * fix: Use imageDimensionsFromStream * feat: Multiple file upload, improved placeholders, local previews * fix: Drag & drop, paste upload * fix: Allow media as attachment * * add skeleton pulse animation * add translation strings * fix attachment view responsiveness * fix collab connection status display * Tiptap v3.17.0 * fix suggestion menu exit bug * fix search shortcut * fix history editor css * tiptap 3.17.1 --------- Co-authored-by: Arek Nawo <areknawo@areknawo.com>
50 lines
866 B
CSS
50 lines
866 B
CSS
.history {
|
|
display: block;
|
|
width: 100%;
|
|
padding: var(--mantine-spacing-md);
|
|
color: light-dark(var(--mantine-color-black), var(--mantine-color-dark-0));
|
|
|
|
@mixin hover {
|
|
background-color: light-dark(
|
|
var(--mantine-color-gray-2),
|
|
var(--mantine-color-dark-8)
|
|
);
|
|
}
|
|
}
|
|
|
|
.historyEditor {
|
|
:global(.ProseMirror) {
|
|
padding: 0 !important;
|
|
}
|
|
}
|
|
|
|
.active {
|
|
background-color: light-dark(
|
|
var(--mantine-color-gray-2),
|
|
var(--mantine-color-dark-8)
|
|
);
|
|
}
|
|
|
|
.sidebar {
|
|
max-height: rem(700px);
|
|
width: rem(250px);
|
|
padding: var(--mantine-spacing-sm);
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-right: rem(1px) solid
|
|
light-dark(var(--mantine-color-gray-3), var(--mantine-color-dark-4));
|
|
}
|
|
|
|
.sidebarFlex {
|
|
display: flex;
|
|
}
|
|
|
|
.sidebarMain {
|
|
flex: 1;
|
|
}
|
|
|
|
.sidebarRightSection {
|
|
flex: 1;
|
|
padding: rem(16px) rem(40px);
|
|
}
|