collabmd 0.1.44 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -19
- package/bin/collabmd.js +27 -1
- package/dist/client/assets/CodeMirrorEditor-UCMRAMCV-CYM5nxUi.js +1 -0
- package/dist/client/assets/browser-utils--H_DkyEF.js +1 -0
- package/dist/client/assets/chunk-ERSWUTIN-hHdvnhaY.js +41 -0
- package/dist/client/assets/{chunk-CZQZEIFA-DT3N9fo7.js → chunk-YGJVY4SA-CjSe7Bx7.js} +2 -2
- package/dist/client/assets/comment-thread-store-CdcwrObc.js +1 -0
- package/dist/client/assets/comment-threads-9J6Em-_y.js +4 -0
- package/dist/client/assets/comment-ui-shared-BC4pt4w8.js +7 -0
- package/dist/client/assets/dist-B5HTH2BO.js +1 -0
- package/dist/client/assets/{dist-DhLvC8DS.js → dist-B5Jf1SLZ.js} +2 -2
- package/dist/client/assets/{dist-CnL7Y2sM.js → dist-BDt3rz7l.js} +1 -1
- package/dist/client/assets/dist-BEwK4csK.js +1 -0
- package/dist/client/assets/dist-BKW4PALF.js +1 -0
- package/dist/client/assets/dist-BWcHHOx-.js +1 -0
- package/dist/client/assets/{dist-CYZmbokb.js → dist-BalScOwZ.js} +9 -9
- package/dist/client/assets/dist-Bf8f4HmM.js +6 -0
- package/dist/client/assets/dist-BjHJDtyU.js +1 -0
- package/dist/client/assets/dist-Bm6pf9Bl.js +1 -0
- package/dist/client/assets/dist-BoVBdSjk.js +1 -0
- package/dist/client/assets/dist-CC5IrQMG.js +1 -0
- package/dist/client/assets/{dist-C11hHqv_.js → dist-CCP_AKPG.js} +12 -12
- package/dist/client/assets/dist-CZgOmxK6.js +1 -0
- package/dist/client/assets/{dist-D2AQ-76g.js → dist-Cqhv5LAk.js} +1 -1
- package/dist/client/assets/{dist-MvcV4190.js → dist-D-Z6FLem.js} +1 -1
- package/dist/client/assets/dist-DLMiIsNC.js +11 -0
- package/dist/client/assets/{dist-3bgCp7iY.js → dist-DZKu9Cs8.js} +1 -1
- package/dist/client/assets/dist-DaYdhcVs.js +1 -0
- package/dist/client/assets/dist-FWJsgGYI.js +1 -0
- package/dist/client/assets/dist-Kh2COra_.js +1 -0
- package/dist/client/assets/{dist-JYEDRrPT.js → dist-PDZ3bSqm.js} +1 -1
- package/dist/client/assets/{dist-Drp8uu5J.js → dist-TjMh8n1u.js} +1 -1
- package/dist/client/assets/{dist-DGb27Dl6.js → dist-dtAdgL39.js} +1 -1
- package/dist/client/assets/dist-jv4WdPnK.js +9 -0
- package/dist/client/assets/{dist-DK5Gs2wa.js → dist-rGBmqxC7.js} +1 -1
- package/dist/client/assets/{dist-DCzuX1AF.js → dist-shrl6K_0.js} +1 -1
- package/dist/client/assets/dist-tOaegDYS2.js +1 -0
- package/dist/client/assets/dist-ule2n6ak.js +1 -0
- package/dist/client/assets/dist-xElaxbia.js +1 -0
- package/dist/client/assets/drawio-editor-FzY1cVw8.js +9 -0
- package/dist/client/assets/drawioEditor-BjiKJqlc.js +2 -0
- package/dist/client/assets/editor-session-Cm9ekeNo.js +54 -0
- package/dist/client/assets/embedded-editor-base-CwTkk911.css +1 -0
- package/dist/client/assets/{en-GADW4C6J-DQ6zyCEM.js → en-7NFCYGKX-BrgYZAEe.js} +1 -1
- package/dist/client/assets/{preview-render-profile-BZzGSg6K.js → es-DXGV3RHd.js} +13 -13
- package/dist/client/assets/excalidraw-editor-B46zsTFI.js +9 -0
- package/dist/client/assets/excalidraw-editor-Bt7gMSoh.css +1 -0
- package/dist/client/assets/excalidraw-scene-BOben2gr.js +1 -0
- package/dist/client/assets/excalidrawEditor-CT2pHq7e.js +2 -0
- package/dist/client/assets/export-page-A7NHawJY.js +39 -0
- package/dist/client/assets/exportDocument-B2L8fe34.css +1 -0
- package/dist/client/assets/exportDocument-BaqcOAAW.js +2 -0
- package/dist/client/assets/file-icon-svg-CQAjlWjK.js +1 -0
- package/dist/client/assets/file-kind-BbqgGzpc.js +1 -0
- package/dist/client/assets/image-QXRYHUNP-SWEV8H0J.js +1 -0
- package/dist/client/assets/index-ClbjMBVt.js +2 -0
- package/dist/client/assets/index-Pum8ET-5.css +1 -0
- package/dist/client/assets/main-B3uPyqic.js +893 -0
- package/dist/client/assets/modulepreload-polyfill-P2Xu9kJm.js +1 -0
- package/dist/client/assets/pdf-BL9Pr2D5.js +54 -0
- package/dist/client/assets/pdf.worker-CLesOks4.mjs +64857 -0
- package/dist/client/assets/pdf_viewer-FVkkThnz.js +551 -0
- package/dist/client/assets/preview-diagram-utils-txBCoW8d.js +1 -0
- package/dist/client/assets/{preview-render-compiler-BSaQO_p3.js → preview-render-compiler-BD-XhkS2.js} +2 -2
- package/dist/client/assets/preview-render-compiler-BKedaMxx.js +1 -0
- package/dist/client/assets/preview-render-profile-CE-5rVTC.js +1 -0
- package/dist/client/assets/{preview-render-worker-B42LWvrD.js → preview-render-worker-CiPqc9n6.js} +20 -20
- package/dist/client/assets/prod-Dy20X7eT.js +1 -0
- package/dist/client/assets/prod-hnwh7wRM.js +177 -0
- package/dist/client/assets/quick-switcher-controller-fqOYR7qR.js +12 -0
- package/dist/client/assets/runtime-config-BLrEKVO1.js +1 -0
- package/dist/client/assets/vault-api-client-_LpV1aIn.js +6 -0
- package/dist/client/assets/{yjs-provider-reset-guard-Cox4nxwu.js → yjs-provider-reset-guard-DE0vINDP.js} +1 -1
- package/dist/client/drawio-editor.html +3 -2
- package/dist/client/excalidraw-editor.html +3 -2
- package/dist/client/export-document.html +4 -3
- package/dist/client/index.html +109 -27
- package/docker-compose.yml +42 -0
- package/package.json +26 -15
- package/scripts/local-structurizr-compose.mjs +101 -0
- package/src/client/app/drawio-editor-entry.js +0 -3
- package/src/client/app/drawio-editor.html +1 -0
- package/src/client/app/excalidraw-editor-entry.js +0 -3
- package/src/client/app/excalidraw-editor.html +1 -0
- package/src/client/app/export-document-entry.js +0 -3
- package/src/client/app/export-document.html +1 -0
- package/src/client/app/index.html +106 -24
- package/src/client/app/main-entry.js +0 -5
- package/src/client/application/app-shell/chat-feature.js +180 -124
- package/src/client/application/app-shell/comments-feature.js +20 -11
- package/src/client/application/app-shell/git-feature.js +16 -9
- package/src/client/application/app-shell/presence-feature.js +18 -11
- package/src/client/application/app-shell/ui-feature-shell.js +78 -17
- package/src/client/application/app-shell/ui-feature-sidebar.js +74 -1
- package/src/client/application/app-shell/ui-feature-tab-activity.js +2 -2
- package/src/client/application/app-shell/ui-feature-toolbar.js +2 -52
- package/src/client/application/app-shell/workspace-feature.js +27 -84
- package/src/client/application/app-shell-elements.js +9 -1
- package/src/client/application/diagram-chrome.js +161 -166
- package/src/client/application/diagram-preview-export.js +7 -34
- package/src/client/application/diagram-preview-hydrator.js +1 -19
- package/src/client/application/markdown-frontmatter.js +0 -2
- package/src/client/application/mermaid-preview-hydrator.js +1 -14
- package/src/client/application/pdf-preview-controller.js +992 -0
- package/src/client/application/plantuml-preview-hydrator.js +0 -10
- package/src/client/application/preview-diagram-utils.js +31 -2
- package/src/client/application/preview-render-compiler.js +2 -1
- package/src/client/application/preview-renderer.js +2 -2
- package/src/client/application/quick-switcher-loader.js +3 -1
- package/src/client/application/structurizr-preview-controller.js +395 -0
- package/src/client/application/workspace-coordinator.js +25 -3
- package/src/client/application/workspace-preview-controller.js +91 -5
- package/src/client/bootstrap/collabmd-app-shell.js +155 -43
- package/src/client/browser-utils.js +44 -0
- package/src/client/domain/excalidraw-collaboration.js +0 -2
- package/src/client/domain/room.js +38 -0
- package/src/client/domain/runtime-paths.js +26 -5
- package/src/client/domain/structurizr-language.js +99 -0
- package/src/client/domain/vault-paths.js +48 -0
- package/src/client/excalidraw-editor.js +833 -51
- package/src/client/export/export-pipeline.js +6 -34
- package/src/client/infrastructure/auth-client.js +4 -10
- package/src/client/infrastructure/browser-notification-port.js +33 -20
- package/src/client/infrastructure/browser-preferences-port.js +46 -9
- package/src/client/infrastructure/comment-thread-store.js +34 -13
- package/src/client/infrastructure/editor-session.js +10 -0
- package/src/client/infrastructure/editor-view-adapter.js +133 -5
- package/src/client/infrastructure/excalidraw-room-client.js +103 -14
- package/src/client/infrastructure/git-api-client.js +5 -0
- package/src/client/infrastructure/lobby-presence.js +1 -0
- package/src/client/infrastructure/vault-api-client.js +51 -0
- package/src/client/infrastructure/workspace-sync-client.js +13 -1
- package/src/client/presentation/comment-overview-controller.js +18 -53
- package/src/client/presentation/comment-ui/comment-ui-card.js +1 -12
- package/src/client/presentation/comment-ui/comment-ui-layout.js +242 -219
- package/src/client/presentation/comment-ui/comment-ui-render.js +32 -45
- package/src/client/presentation/comment-ui/comment-ui-shared.js +68 -13
- package/src/client/presentation/comment-ui-controller.js +5 -1
- package/src/client/presentation/drawio-embed-controller.js +9 -102
- package/src/client/presentation/drawio-viewer.js +118 -0
- package/src/client/presentation/excalidraw-embed-controller.js +74 -8
- package/src/client/presentation/file-action-controller.js +134 -0
- package/src/client/presentation/file-explorer-controller.js +33 -3
- package/src/client/presentation/file-explorer-view.js +59 -34
- package/src/client/presentation/file-icon-svg.js +40 -0
- package/src/client/presentation/file-tree-state.js +12 -4
- package/src/client/presentation/git-diff-view-controller.js +731 -3
- package/src/client/presentation/outline-controller.js +86 -0
- package/src/client/presentation/quick-switcher-controller.js +257 -74
- package/src/client/presentation/quick-switcher-text-search.js +3 -3
- package/src/client/presentation/toast-controller.js +3 -0
- package/src/client/styles/components/feedback.css +6 -0
- package/src/client/styles/components/navigation.css +11 -1
- package/src/client/styles/features/collaboration-chat.css +49 -53
- package/src/client/styles/features/collaboration-presence.css +9 -7
- package/src/client/styles/features/comment-card.css +25 -11
- package/src/client/styles/features/comment-overlays.css +0 -4
- package/src/client/styles/features/comment-overview.css +44 -21
- package/src/client/styles/features/comments-drawer.css +2 -100
- package/src/client/styles/features/diagram-preview.css +81 -18
- package/src/client/styles/features/diff-special.css +309 -0
- package/src/client/styles/features/embedded-preview.css +8 -33
- package/src/client/styles/features/quick-switcher.css +8 -0
- package/src/client/styles/foundation/themes.css +6 -0
- package/src/client/styles/foundation/tokens.css +1 -0
- package/src/client/styles/layout/editor-page.css +40 -0
- package/src/client/styles/layout/responsive.css +31 -1
- package/src/client/styles/layout/shell.css +383 -7
- package/src/client/styles/layout/sidebar.css +47 -15
- package/src/client/styles/layout/view-modes.css +1 -0
- package/src/client/styles/overrides/codemirror.css +217 -15
- package/src/client/styles/style.css +1 -0
- package/src/client/styles/surfaces/excalidraw-editor.css +294 -0
- package/src/domain/comment-threads.js +63 -5
- package/src/domain/excalidraw-room-codec.js +6 -4
- package/src/domain/file-kind.js +35 -3
- package/src/server/application/workspace-reconciliation.js +1 -1
- package/src/server/config/env.js +79 -0
- package/src/server/create-app-server.js +14 -3
- package/src/server/domain/bases/base-definition.js +1 -1
- package/src/server/domain/bases/base-expression-runtime.js +1 -4
- package/src/server/domain/bases/base-index-snapshot-store.js +1 -4
- package/src/server/domain/bases/base-query-service.js +1 -77
- package/src/server/domain/bases/base-transform.js +1 -4
- package/src/server/domain/collaboration/collaboration-room.js +55 -21
- package/src/server/domain/comment-overview.js +25 -8
- package/src/server/domain/docx-exporter.js +24 -33
- package/src/server/domain/ripgrep-search-service.js +7 -1
- package/src/server/domain/workspace-state.js +32 -11
- package/src/server/infrastructure/git/diff-service.js +29 -13
- package/src/server/infrastructure/git/git-service.js +61 -10
- package/src/server/infrastructure/git/history-service.js +96 -29
- package/src/server/infrastructure/git/image-mime.js +14 -0
- package/src/server/infrastructure/git/path-utils.js +1 -1
- package/src/server/infrastructure/git/responses.js +0 -95
- package/src/server/infrastructure/git/untracked-files.js +28 -1
- package/src/server/infrastructure/github/github-app-client.js +22 -15
- package/src/server/infrastructure/http/create-git-api-query-handler.js +31 -1
- package/src/server/infrastructure/http/create-request-handler.js +18 -31
- package/src/server/infrastructure/http/create-static-handler.js +5 -2
- package/src/server/infrastructure/http/create-structurizr-api-handler.js +145 -0
- package/src/server/infrastructure/http/create-vault-api-command-handler.js +70 -8
- package/src/server/infrastructure/http/create-vault-api-query-handler.js +51 -3
- package/src/server/infrastructure/http/http-errors.js +7 -1
- package/src/server/infrastructure/http/http-request-helpers.js +22 -0
- package/src/server/infrastructure/persistence/path-utils.js +1 -1
- package/src/server/infrastructure/persistence/vault-file-store.js +3 -0
- package/src/server/infrastructure/structurizr/structurizr-embed.css +43 -0
- package/src/server/infrastructure/structurizr/structurizr-workspace-service.js +374 -0
- package/src/server/infrastructure/websocket/attach-collaboration-gateway.js +4 -22
- package/dist/client/assets/CodeMirrorEditor-UCMRAMCV-CbSISC1w.js +0 -1
- package/dist/client/assets/bases-preview-controller-2pLHk0uk.js +0 -143
- package/dist/client/assets/browser-utils-CKtI_rZl.js +0 -1
- package/dist/client/assets/button-BCEiw4Rw.js +0 -1
- package/dist/client/assets/chunk-AXR3VHVW-0GTk_evH.js +0 -41
- package/dist/client/assets/comment-threads-D-iKphIp.js +0 -4
- package/dist/client/assets/diagram-action-icons-aa_KOv9h.js +0 -36
- package/dist/client/assets/dist-BH87JoHx.js +0 -11
- package/dist/client/assets/dist-BIkPRZO7.js +0 -6
- package/dist/client/assets/dist-BqCsFpx4.js +0 -1
- package/dist/client/assets/dist-C2JHCt8U.js +0 -1
- package/dist/client/assets/dist-CZjTtmTu.js +0 -1
- package/dist/client/assets/dist-Cig4Ov_X.js +0 -1
- package/dist/client/assets/dist-CqQEC8gR.js +0 -1
- package/dist/client/assets/dist-D4Rzqod1.js +0 -1
- package/dist/client/assets/dist-D5sn-mwk.js +0 -9
- package/dist/client/assets/dist-D7G-n87v.js +0 -1
- package/dist/client/assets/dist-DRqOrNgN.js +0 -1
- package/dist/client/assets/dist-DetkMS_4.js +0 -1
- package/dist/client/assets/dist-Dp6FVkQ1.js +0 -1
- package/dist/client/assets/dist-DtbjNB28.js +0 -1
- package/dist/client/assets/dist-DyrYcvpo2.js +0 -1
- package/dist/client/assets/dist-GrygD2zE.js +0 -1
- package/dist/client/assets/dist-HmEpWUow.js +0 -1
- package/dist/client/assets/dist-RTa81Km7.js +0 -1
- package/dist/client/assets/drawio-editor-DDvFoarP.js +0 -9
- package/dist/client/assets/drawio-embed-controller-BD1GTRwn.js +0 -1
- package/dist/client/assets/drawioEditor-Bu5grlH5.js +0 -2
- package/dist/client/assets/editor-session-DGlpiAsK.js +0 -16
- package/dist/client/assets/embedded-editor-base-C9roKYpW.css +0 -1
- package/dist/client/assets/excalidraw-editor-BHu6k8d4.js +0 -9
- package/dist/client/assets/excalidraw-editor-Cr_184EF.css +0 -1
- package/dist/client/assets/excalidraw-embed-controller-y2fenN_g.js +0 -1
- package/dist/client/assets/excalidraw-embed-reconciler-DGiagExg.js +0 -1
- package/dist/client/assets/excalidraw-scene-BvsQ6mLP.js +0 -176
- package/dist/client/assets/excalidrawEditor-4vFE--Uw.js +0 -2
- package/dist/client/assets/export-page-Cby8JzPO.js +0 -39
- package/dist/client/assets/exportDocument-C9v-bc7I.css +0 -1
- package/dist/client/assets/exportDocument-CRHCfsdo.js +0 -2
- package/dist/client/assets/file-history-view-controller-BDjEV9xJ.js +0 -112
- package/dist/client/assets/file-kind-BKPOIRPE.js +0 -1
- package/dist/client/assets/git-diff-view-controller-DgdM1aqb.js +0 -150
- package/dist/client/assets/git-panel-controller-BDTR2HVp.js +0 -207
- package/dist/client/assets/image-XGD7JQR6-XDUWHRpO.js +0 -1
- package/dist/client/assets/index-7xOyXDhP.css +0 -1
- package/dist/client/assets/index-Bz1KuQ6y.js +0 -2
- package/dist/client/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/dist/client/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/dist/client/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/dist/client/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/dist/client/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/dist/client/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/dist/client/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/dist/client/assets/jetbrains-mono-cyrillic-400-normal-BEIGL1Tu.woff2 +0 -0
- package/dist/client/assets/jetbrains-mono-cyrillic-400-normal-ugxPyKxw.woff +0 -0
- package/dist/client/assets/jetbrains-mono-greek-400-normal-B9oWc5Lo.woff +0 -0
- package/dist/client/assets/jetbrains-mono-greek-400-normal-C190GLew.woff2 +0 -0
- package/dist/client/assets/jetbrains-mono-latin-400-normal-6-qcROiO.woff +0 -0
- package/dist/client/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2 +0 -0
- package/dist/client/assets/jetbrains-mono-latin-ext-400-normal-Bc8Ftmh3.woff2 +0 -0
- package/dist/client/assets/jetbrains-mono-latin-ext-400-normal-fXTG6kC5.woff +0 -0
- package/dist/client/assets/jetbrains-mono-vietnamese-400-normal-CqNFfHCs.woff +0 -0
- package/dist/client/assets/main-Ci07m9oP.js +0 -152
- package/dist/client/assets/preview-diagram-utils-n_bbJA9V.js +0 -1
- package/dist/client/assets/preview-render-compiler-csGM5ZFz.js +0 -1
- package/dist/client/assets/quick-switcher-controller-CoiYvllm.js +0 -12
- package/dist/client/assets/room-CDrmIdDt.js +0 -1
- package/dist/client/assets/runtime-config-CDgeuPWN.js +0 -1
- package/dist/client/assets/runtime-config-loader-BHGniHP5.js +0 -1
- package/dist/client/assets/runtime-paths-DvpihCEq.js +0 -1
- package/dist/client/assets/segmented-control-DJrHSz8M.js +0 -1
- package/dist/client/assets/vault-api-client-sLB2bo56.js +0 -1
- package/dist/client/assets/vault-paths-CVkuh0j-.js +0 -5
- package/src/client/bootstrap/lazy-controller-feature.js +0 -433
- package/src/client/infrastructure/backlinks-api-client.js +0 -16
- package/src/client/infrastructure/plantuml-api-client.js +0 -19
- package/src/client/infrastructure/runtime-config-loader.js +0 -56
- package/src/server/domain/collaboration/room-persistence-controller.js +0 -80
- package/src/server/infrastructure/git/command-runner.js +0 -49
- package/src/server/infrastructure/git/errors.js +0 -8
- package/src/server/infrastructure/http/create-esm-proxy-handler.js +0 -130
|
@@ -155,7 +155,6 @@
|
|
|
155
155
|
--preview-floating-comments-width: var(--panel-comments-width);
|
|
156
156
|
--preview-floating-outline-width: var(--panel-outline-width);
|
|
157
157
|
--preview-content-max-width: var(--preview-content-width);
|
|
158
|
-
--preview-comment-rail-inset: 10px;
|
|
159
158
|
position: relative;
|
|
160
159
|
display: flex;
|
|
161
160
|
flex: 1;
|
|
@@ -172,15 +171,17 @@
|
|
|
172
171
|
overscroll-behavior: contain;
|
|
173
172
|
}
|
|
174
173
|
|
|
174
|
+
.preview-container.is-pdf-file-preview {
|
|
175
|
+
overflow-x: auto;
|
|
176
|
+
}
|
|
177
|
+
|
|
175
178
|
.preview-content {
|
|
176
|
-
--preview-comment-rail-reserved: 0px;
|
|
177
|
-
--preview-comment-rail-offset: 0px;
|
|
178
179
|
position: relative;
|
|
179
180
|
min-width: 0;
|
|
180
181
|
max-width: var(--preview-content-max-width);
|
|
181
182
|
margin: 0 auto;
|
|
182
183
|
overflow: visible;
|
|
183
|
-
padding: var(--space-6)
|
|
184
|
+
padding: var(--space-6) var(--space-6) var(--space-12);
|
|
184
185
|
color: var(--color-text);
|
|
185
186
|
font-family: var(--font-body);
|
|
186
187
|
font-size: var(--text-sm);
|
|
@@ -220,6 +221,18 @@
|
|
|
220
221
|
padding: var(--space-4);
|
|
221
222
|
}
|
|
222
223
|
|
|
224
|
+
.preview-content.is-pdf-file-preview {
|
|
225
|
+
position: relative;
|
|
226
|
+
display: flex;
|
|
227
|
+
box-sizing: border-box;
|
|
228
|
+
width: 100%;
|
|
229
|
+
min-height: 100%;
|
|
230
|
+
height: 100%;
|
|
231
|
+
max-width: none;
|
|
232
|
+
margin: 0;
|
|
233
|
+
padding: var(--space-3);
|
|
234
|
+
}
|
|
235
|
+
|
|
223
236
|
.preview-content.is-base-file-preview {
|
|
224
237
|
width: 100%;
|
|
225
238
|
min-height: 100%;
|
|
@@ -228,12 +241,19 @@
|
|
|
228
241
|
|
|
229
242
|
.preview-content.is-plantuml-file-preview,
|
|
230
243
|
.preview-content.is-mermaid-file-preview {
|
|
244
|
+
display: flex;
|
|
245
|
+
flex-direction: column;
|
|
246
|
+
box-sizing: border-box;
|
|
231
247
|
width: 100%;
|
|
232
248
|
min-height: 100%;
|
|
249
|
+
height: 100%;
|
|
233
250
|
max-width: none;
|
|
251
|
+
margin: 0;
|
|
252
|
+
padding: var(--space-3);
|
|
234
253
|
}
|
|
235
254
|
|
|
236
|
-
.preview-content.is-drawio-file-preview
|
|
255
|
+
.preview-content.is-drawio-file-preview,
|
|
256
|
+
.preview-content.is-structurizr-file-preview {
|
|
237
257
|
position: relative;
|
|
238
258
|
display: flex;
|
|
239
259
|
box-sizing: border-box;
|
|
@@ -247,12 +267,20 @@
|
|
|
247
267
|
|
|
248
268
|
.preview-content.is-mermaid-file-preview [data-preview-render-host='true'],
|
|
249
269
|
.preview-content.is-plantuml-file-preview [data-preview-render-host='true'] {
|
|
250
|
-
|
|
270
|
+
display: flex;
|
|
271
|
+
flex: 1;
|
|
272
|
+
flex-direction: column;
|
|
273
|
+
width: 100%;
|
|
274
|
+
max-width: none;
|
|
275
|
+
min-width: 0;
|
|
276
|
+
min-height: 0;
|
|
251
277
|
}
|
|
252
278
|
|
|
253
279
|
.preview-content.is-drawio-file-preview [data-preview-render-host='true'],
|
|
280
|
+
.preview-content.is-structurizr-file-preview [data-preview-render-host='true'],
|
|
254
281
|
.preview-content.is-excalidraw-file-preview [data-preview-render-host='true'],
|
|
255
282
|
.preview-content.is-image-file-preview [data-preview-render-host='true'],
|
|
283
|
+
.preview-content.is-pdf-file-preview [data-preview-render-host='true'],
|
|
256
284
|
.preview-content.is-base-file-preview [data-preview-render-host='true'] {
|
|
257
285
|
display: flex;
|
|
258
286
|
flex: 1;
|
|
@@ -262,6 +290,10 @@
|
|
|
262
290
|
min-height: 100%;
|
|
263
291
|
}
|
|
264
292
|
|
|
293
|
+
.preview-content.is-pdf-file-preview [data-preview-render-host='true'] {
|
|
294
|
+
flex-direction: column;
|
|
295
|
+
}
|
|
296
|
+
|
|
265
297
|
.image-file-preview-shell {
|
|
266
298
|
display: flex;
|
|
267
299
|
align-items: center;
|
|
@@ -280,10 +312,354 @@
|
|
|
280
312
|
box-shadow: var(--shadow-lg);
|
|
281
313
|
}
|
|
282
314
|
|
|
315
|
+
.pdf-file-preview-shell {
|
|
316
|
+
display: flex;
|
|
317
|
+
flex: 0 0 auto;
|
|
318
|
+
flex-direction: column;
|
|
319
|
+
width: 100%;
|
|
320
|
+
min-height: 100%;
|
|
321
|
+
margin: 0;
|
|
322
|
+
gap: var(--space-3);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.pdf-file-preview-toolbar {
|
|
326
|
+
position: sticky;
|
|
327
|
+
top: var(--space-3);
|
|
328
|
+
z-index: 2;
|
|
329
|
+
display: flex;
|
|
330
|
+
flex-wrap: wrap;
|
|
331
|
+
align-items: center;
|
|
332
|
+
justify-content: space-between;
|
|
333
|
+
gap: var(--space-3);
|
|
334
|
+
width: min(100%, 960px);
|
|
335
|
+
min-height: 32px;
|
|
336
|
+
margin: 0 auto;
|
|
337
|
+
padding: var(--space-2) var(--space-3);
|
|
338
|
+
border: 1px solid var(--color-divider);
|
|
339
|
+
border-radius: var(--radius-lg);
|
|
340
|
+
background: var(--color-surface);
|
|
341
|
+
box-shadow: var(--shadow-md);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.pdf-file-preview-toolbar-start,
|
|
345
|
+
.pdf-file-preview-zoom-controls {
|
|
346
|
+
display: inline-flex;
|
|
347
|
+
align-items: center;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.pdf-file-preview-toolbar-start {
|
|
351
|
+
display: flex;
|
|
352
|
+
flex: 1 1 auto;
|
|
353
|
+
min-width: 0;
|
|
354
|
+
flex-wrap: wrap;
|
|
355
|
+
gap: var(--space-3);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.pdf-file-preview-zoom-controls {
|
|
359
|
+
gap: 4px;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.pdf-file-preview-zoom-button,
|
|
363
|
+
.pdf-file-preview-back-button {
|
|
364
|
+
width: 28px;
|
|
365
|
+
min-width: 28px;
|
|
366
|
+
height: 28px;
|
|
367
|
+
padding: 0;
|
|
368
|
+
font-size: 16px;
|
|
369
|
+
font-weight: 700;
|
|
370
|
+
line-height: 1;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.pdf-file-preview-zoom-label {
|
|
374
|
+
min-width: 48px;
|
|
375
|
+
color: var(--color-text-muted);
|
|
376
|
+
font-size: var(--text-xs);
|
|
377
|
+
font-variant-numeric: tabular-nums;
|
|
378
|
+
font-weight: 600;
|
|
379
|
+
text-align: center;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.pdf-file-preview-status {
|
|
383
|
+
color: var(--color-text-muted);
|
|
384
|
+
font-size: var(--text-meta);
|
|
385
|
+
white-space: nowrap;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.pdf-file-preview-find-controls {
|
|
389
|
+
display: inline-flex;
|
|
390
|
+
min-width: 0;
|
|
391
|
+
align-items: center;
|
|
392
|
+
gap: 4px;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.pdf-file-preview-find-input {
|
|
396
|
+
box-sizing: border-box;
|
|
397
|
+
width: min(190px, 24vw);
|
|
398
|
+
min-width: 120px;
|
|
399
|
+
height: 28px;
|
|
400
|
+
padding: 0 8px;
|
|
401
|
+
border: 1px solid var(--color-border);
|
|
402
|
+
border-radius: var(--radius-sm);
|
|
403
|
+
background: var(--color-surface-offset);
|
|
404
|
+
color: var(--color-text);
|
|
405
|
+
font: inherit;
|
|
406
|
+
font-size: var(--text-xs);
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.pdf-file-preview-find-input:focus {
|
|
410
|
+
outline: none;
|
|
411
|
+
border-color: var(--color-primary);
|
|
412
|
+
box-shadow: var(--shadow-focus);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.pdf-file-preview-find-input::placeholder {
|
|
416
|
+
color: var(--color-text-faint);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.pdf-file-preview-find-status {
|
|
420
|
+
min-width: 48px;
|
|
421
|
+
color: var(--color-text-muted);
|
|
422
|
+
font-size: var(--text-xs);
|
|
423
|
+
font-variant-numeric: tabular-nums;
|
|
424
|
+
text-align: center;
|
|
425
|
+
white-space: nowrap;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.pdf-file-preview-find-button {
|
|
429
|
+
width: 28px;
|
|
430
|
+
min-width: 28px;
|
|
431
|
+
height: 28px;
|
|
432
|
+
padding: 0;
|
|
433
|
+
font-size: 20px;
|
|
434
|
+
line-height: 1;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.pdf-file-preview-download {
|
|
438
|
+
color: var(--color-primary);
|
|
439
|
+
font-size: var(--text-meta);
|
|
440
|
+
font-weight: 600;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.pdf-file-preview-pages {
|
|
444
|
+
--pdf-page-width: min(100%, 960px);
|
|
445
|
+
touch-action: pan-x pan-y;
|
|
446
|
+
display: flex;
|
|
447
|
+
flex-direction: column;
|
|
448
|
+
align-items: flex-start;
|
|
449
|
+
width: 100%;
|
|
450
|
+
gap: var(--space-4);
|
|
451
|
+
padding: 0 var(--space-2) var(--space-8);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.pdf-page {
|
|
455
|
+
position: relative;
|
|
456
|
+
flex: 0 0 auto;
|
|
457
|
+
width: var(--pdf-page-width, min(100%, 960px));
|
|
458
|
+
max-width: none;
|
|
459
|
+
margin-inline: auto;
|
|
460
|
+
overflow: hidden;
|
|
461
|
+
border-radius: var(--radius-sm);
|
|
462
|
+
background: var(--color-surface);
|
|
463
|
+
box-shadow: var(--shadow-lg);
|
|
464
|
+
--scale-factor: 1;
|
|
465
|
+
--user-unit: 1;
|
|
466
|
+
--total-scale-factor: calc(var(--scale-factor) * var(--user-unit));
|
|
467
|
+
--scale-round-x: 1px;
|
|
468
|
+
--scale-round-y: 1px;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.pdf-page > .page {
|
|
472
|
+
position: relative;
|
|
473
|
+
width: 100%;
|
|
474
|
+
height: 100%;
|
|
475
|
+
margin: 0;
|
|
476
|
+
overflow: visible;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.pdf-page .canvasWrapper {
|
|
480
|
+
position: relative;
|
|
481
|
+
width: 100%;
|
|
482
|
+
height: 100%;
|
|
483
|
+
overflow: hidden;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
.pdf-page-canvas {
|
|
487
|
+
position: absolute;
|
|
488
|
+
inset: 0;
|
|
489
|
+
z-index: 0;
|
|
490
|
+
display: block;
|
|
491
|
+
width: 100%;
|
|
492
|
+
height: 100%;
|
|
493
|
+
background: var(--color-surface);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.pdf-page .textLayer {
|
|
497
|
+
position: absolute;
|
|
498
|
+
inset: 0;
|
|
499
|
+
z-index: 1;
|
|
500
|
+
overflow: hidden;
|
|
501
|
+
color-scheme: only light;
|
|
502
|
+
text-align: initial;
|
|
503
|
+
opacity: 1;
|
|
504
|
+
line-height: 1;
|
|
505
|
+
letter-spacing: normal;
|
|
506
|
+
word-spacing: normal;
|
|
507
|
+
transform-origin: 0 0;
|
|
508
|
+
caret-color: CanvasText;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.pdf-page .annotationLayer {
|
|
512
|
+
position: absolute;
|
|
513
|
+
inset: 0;
|
|
514
|
+
z-index: 2;
|
|
515
|
+
pointer-events: none;
|
|
516
|
+
transform-origin: 0 0;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.pdf-page .annotationLayer section {
|
|
520
|
+
position: absolute;
|
|
521
|
+
box-sizing: border-box;
|
|
522
|
+
pointer-events: auto;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.pdf-page .annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a {
|
|
526
|
+
position: absolute;
|
|
527
|
+
inset: 0;
|
|
528
|
+
cursor: pointer;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
.pdf-page .textLayer :is(span, br) {
|
|
532
|
+
position: absolute;
|
|
533
|
+
color: transparent;
|
|
534
|
+
white-space: pre;
|
|
535
|
+
cursor: text;
|
|
536
|
+
transform-origin: 0% 0%;
|
|
537
|
+
-webkit-user-select: text;
|
|
538
|
+
user-select: text;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.pdf-page .textLayer {
|
|
542
|
+
--min-font-size: 1;
|
|
543
|
+
--text-scale-factor: calc(var(--total-scale-factor) * var(--min-font-size));
|
|
544
|
+
--min-font-size-inv: calc(1 / var(--min-font-size));
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.pdf-page .textLayer > :not(.markedContent),
|
|
548
|
+
.pdf-page .textLayer .markedContent span:not(.markedContent) {
|
|
549
|
+
z-index: 1;
|
|
550
|
+
--font-height: 0;
|
|
551
|
+
font-size: calc(var(--text-scale-factor) * var(--font-height));
|
|
552
|
+
--scale-x: 1;
|
|
553
|
+
--rotate: 0deg;
|
|
554
|
+
transform: rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv));
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.pdf-page .textLayer .markedContent {
|
|
558
|
+
display: contents;
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.pdf-page .textLayer .highlight {
|
|
562
|
+
margin: -1px;
|
|
563
|
+
padding: 1px;
|
|
564
|
+
border-radius: 4px;
|
|
565
|
+
background: var(--pdf-highlight-bg);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.pdf-page .textLayer .highlight.selected {
|
|
569
|
+
background: var(--pdf-highlight-selected-bg);
|
|
570
|
+
scroll-margin-top: 50px;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.pdf-page .textLayer .highlight.begin {
|
|
574
|
+
border-radius: 4px 0 0 4px;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.pdf-page .textLayer .highlight.middle {
|
|
578
|
+
border-radius: 0;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.pdf-page .textLayer .highlight.end {
|
|
582
|
+
border-radius: 0 4px 4px 0;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.pdf-page .textLayer ::selection {
|
|
586
|
+
background: var(--pdf-selection-bg);
|
|
587
|
+
color: transparent;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.pdf-page .textLayer .endOfContent {
|
|
591
|
+
position: absolute;
|
|
592
|
+
inset: 100% 0 0;
|
|
593
|
+
z-index: 0;
|
|
594
|
+
display: block;
|
|
595
|
+
cursor: default;
|
|
596
|
+
user-select: none;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.pdf-page .textLayer.selecting .endOfContent {
|
|
600
|
+
top: 0;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
.pdf-file-preview-error,
|
|
604
|
+
.pdf-file-preview-password-prompt {
|
|
605
|
+
display: flex;
|
|
606
|
+
flex-direction: column;
|
|
607
|
+
align-items: center;
|
|
608
|
+
justify-content: center;
|
|
609
|
+
gap: var(--space-3);
|
|
610
|
+
width: min(100%, 960px);
|
|
611
|
+
min-height: 240px;
|
|
612
|
+
margin: 0 auto;
|
|
613
|
+
padding: var(--space-6);
|
|
614
|
+
border: 1px solid var(--color-divider);
|
|
615
|
+
border-radius: var(--radius-lg);
|
|
616
|
+
color: var(--color-text-muted);
|
|
617
|
+
text-align: center;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
.pdf-file-preview-password-prompt {
|
|
621
|
+
box-sizing: border-box;
|
|
622
|
+
align-items: stretch;
|
|
623
|
+
width: min(100%, 440px);
|
|
624
|
+
background: var(--color-surface);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.pdf-file-preview-password-title,
|
|
628
|
+
.pdf-file-preview-password-copy {
|
|
629
|
+
margin: 0;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.pdf-file-preview-password-title {
|
|
633
|
+
color: var(--color-text);
|
|
634
|
+
font-size: var(--text-lg);
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
.pdf-file-preview-password-field {
|
|
638
|
+
display: grid;
|
|
639
|
+
gap: var(--space-2);
|
|
640
|
+
color: var(--color-text-muted);
|
|
641
|
+
font-size: var(--text-meta);
|
|
642
|
+
text-align: left;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.pdf-file-preview-password-field .ui-input {
|
|
646
|
+
width: 100%;
|
|
647
|
+
}
|
|
648
|
+
|
|
283
649
|
.preview-content.is-mermaid-file-preview .mermaid-shell,
|
|
284
650
|
.preview-content.is-plantuml-file-preview .plantuml-shell {
|
|
285
|
-
|
|
651
|
+
flex: 1;
|
|
652
|
+
min-height: 0;
|
|
653
|
+
height: auto;
|
|
286
654
|
margin: 0;
|
|
655
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.preview-content.is-mermaid-file-preview .mermaid-frame,
|
|
659
|
+
.preview-content.is-plantuml-file-preview .plantuml-frame {
|
|
660
|
+
height: 100%;
|
|
661
|
+
min-height: 0;
|
|
662
|
+
max-height: none;
|
|
287
663
|
}
|
|
288
664
|
|
|
289
665
|
.preview-content.is-drawio-file-preview .drawio-embed,
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/* ===== SIDEBAR ===== */
|
|
2
2
|
|
|
3
3
|
.sidebar {
|
|
4
|
+
position: relative;
|
|
4
5
|
display: flex;
|
|
5
6
|
flex-direction: column;
|
|
6
|
-
width:
|
|
7
|
-
min-width:
|
|
8
|
-
max-width:
|
|
7
|
+
width: var(--sidebar-width);
|
|
8
|
+
min-width: var(--sidebar-width);
|
|
9
|
+
max-width: var(--sidebar-width);
|
|
9
10
|
overflow: hidden;
|
|
10
11
|
border-right: 1px solid var(--color-divider);
|
|
11
12
|
background: var(--color-surface);
|
|
@@ -19,6 +20,36 @@
|
|
|
19
20
|
border-right: none;
|
|
20
21
|
}
|
|
21
22
|
|
|
23
|
+
.sidebar.is-resizing {
|
|
24
|
+
transition: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.sidebar-resizer {
|
|
28
|
+
position: absolute;
|
|
29
|
+
top: 0;
|
|
30
|
+
right: 0;
|
|
31
|
+
bottom: 0;
|
|
32
|
+
z-index: 5;
|
|
33
|
+
width: 8px;
|
|
34
|
+
padding: 0;
|
|
35
|
+
border: 0;
|
|
36
|
+
border-right: 2px solid transparent;
|
|
37
|
+
cursor: col-resize;
|
|
38
|
+
touch-action: none;
|
|
39
|
+
transition: border-color var(--transition-interactive);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.sidebar-resizer:hover,
|
|
43
|
+
.sidebar-resizer:focus-visible,
|
|
44
|
+
.sidebar.is-resizing .sidebar-resizer {
|
|
45
|
+
border-right-color: var(--color-primary);
|
|
46
|
+
opacity: 0.72;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.sidebar-resizer:focus-visible {
|
|
50
|
+
outline: none;
|
|
51
|
+
}
|
|
52
|
+
|
|
22
53
|
.sidebar-backdrop,
|
|
23
54
|
.sidebar-backdrop[hidden] {
|
|
24
55
|
display: none;
|
|
@@ -70,7 +101,8 @@
|
|
|
70
101
|
font-weight: 600;
|
|
71
102
|
}
|
|
72
103
|
|
|
73
|
-
.sidebar-create-btn[aria-expanded='true']
|
|
104
|
+
.sidebar-create-btn[aria-expanded='true'],
|
|
105
|
+
.sidebar-options-btn[aria-expanded='true'] {
|
|
74
106
|
border-color: var(--interactive-border);
|
|
75
107
|
background: var(--interactive-surface);
|
|
76
108
|
color: var(--color-primary);
|
|
@@ -328,8 +360,8 @@ body.is-file-tree-dragging * {
|
|
|
328
360
|
.create-menu {
|
|
329
361
|
position: fixed;
|
|
330
362
|
z-index: 1010;
|
|
331
|
-
width: min(
|
|
332
|
-
padding:
|
|
363
|
+
width: min(240px, calc(100vw - 24px));
|
|
364
|
+
padding: 6px;
|
|
333
365
|
border: 1px solid var(--color-border);
|
|
334
366
|
border-radius: var(--radius-lg);
|
|
335
367
|
background: oklch(from var(--color-surface) l c h / 0.98);
|
|
@@ -340,7 +372,7 @@ body.is-file-tree-dragging * {
|
|
|
340
372
|
.create-menu-group,
|
|
341
373
|
.create-action-sheet-group,
|
|
342
374
|
.create-action-sheet-header {
|
|
343
|
-
padding: 0
|
|
375
|
+
padding: 0 10px;
|
|
344
376
|
color: var(--color-text-faint);
|
|
345
377
|
font-size: var(--text-meta);
|
|
346
378
|
font-weight: 700;
|
|
@@ -350,7 +382,7 @@ body.is-file-tree-dragging * {
|
|
|
350
382
|
|
|
351
383
|
.create-menu-group:not(:first-child),
|
|
352
384
|
.create-action-sheet-group:not(:first-child) {
|
|
353
|
-
margin-top:
|
|
385
|
+
margin-top: 10px;
|
|
354
386
|
}
|
|
355
387
|
|
|
356
388
|
.create-action-sheet-header {
|
|
@@ -360,10 +392,10 @@ body.is-file-tree-dragging * {
|
|
|
360
392
|
.create-menu-item {
|
|
361
393
|
display: flex;
|
|
362
394
|
align-items: center;
|
|
363
|
-
gap:
|
|
395
|
+
gap: 8px;
|
|
364
396
|
width: 100%;
|
|
365
|
-
|
|
366
|
-
padding:
|
|
397
|
+
min-height: 36px;
|
|
398
|
+
padding: 0 10px;
|
|
367
399
|
border: none;
|
|
368
400
|
border-radius: var(--radius-md);
|
|
369
401
|
background: transparent;
|
|
@@ -384,19 +416,19 @@ body.is-file-tree-dragging * {
|
|
|
384
416
|
display: inline-flex;
|
|
385
417
|
align-items: center;
|
|
386
418
|
justify-content: center;
|
|
387
|
-
width:
|
|
388
|
-
min-width:
|
|
419
|
+
width: 16px;
|
|
420
|
+
min-width: 16px;
|
|
389
421
|
color: var(--color-text-muted);
|
|
390
422
|
}
|
|
391
423
|
|
|
392
424
|
.create-menu-item-copy {
|
|
393
425
|
display: grid;
|
|
394
|
-
gap:
|
|
426
|
+
gap: 1px;
|
|
395
427
|
min-width: 0;
|
|
396
428
|
}
|
|
397
429
|
|
|
398
430
|
.create-menu-item-label {
|
|
399
|
-
font-size: var(--text-
|
|
431
|
+
font-size: var(--text-xs);
|
|
400
432
|
font-weight: 600;
|
|
401
433
|
}
|
|
402
434
|
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
.editor-layout[data-view="preview"] .preview-content.is-drawio-file-preview,
|
|
30
30
|
.editor-layout[data-view="preview"] .preview-content.is-base-file-preview,
|
|
31
31
|
.editor-layout[data-view="preview"] .preview-content.is-image-file-preview,
|
|
32
|
+
.editor-layout[data-view="preview"] .preview-content.is-pdf-file-preview,
|
|
32
33
|
.editor-layout[data-view="preview"] .preview-content.is-mermaid-file-preview,
|
|
33
34
|
.editor-layout[data-view="preview"] .preview-content.is-plantuml-file-preview {
|
|
34
35
|
max-width: none;
|