diff --git a/package.json b/package.json index 3e26dc4..3a96cd3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sy-query-view", - "version": "1.0.2", + "version": "1.0.3", "type": "module", "description": "This is a sample plugin based on vite and svelte for Siyuan (https://b3log.org/siyuan). Created with siyuan-plugin-cli v2.4.5.", "repository": "https://github.com/frostime/sy-query-view", diff --git a/plugin.json b/plugin.json index 2924bf5..60961f3 100644 --- a/plugin.json +++ b/plugin.json @@ -2,7 +2,7 @@ "name": "sy-query-view", "author": "frostime", "url": "https://github.com/frostime/sy-query-view", - "version": "1.0.2", + "version": "1.0.3", "minAppVersion": "3.1.14", "backends": [ "windows", diff --git a/public/types.d.ts b/public/types.d.ts index ae71698..a835c10 100644 --- a/public/types.d.ts +++ b/public/types.d.ts @@ -1,8 +1,8 @@ /** * @name sy-query-view * @author frostime - * @version 1.0.2 - * @updated 2025-01-17T14:24:25.768Z + * @version 1.0.3 + * @updated 2025-01-17T14:56:39.077Z */ declare module 'siyuan' { diff --git a/src/core/data-view.ts b/src/core/data-view.ts index 71856d8..40c706f 100644 --- a/src/core/data-view.ts +++ b/src/core/data-view.ts @@ -3,7 +3,7 @@ * @Author : frostime * @Date : 2024-12-02 10:15:04 * @FilePath : /src/core/data-view.ts - * @LastEditTime : 2025-01-17 22:17:01 + * @LastEditTime : 2025-01-17 22:43:12 * @Description : */ import { @@ -790,6 +790,9 @@ export class DataView extends UseStateMixin implements IDataView { width?: string }) { let mermaidContainer = newViewWrapper(); + Object.assign(mermaidContainer.style, { + 'overflow-x': 'auto' + }); const mermaid = new MermaidKanban({ target: mermaidContainer,