Skip to content

Commit

Permalink
🐛 fix: Kanban 的宽度应当允许 overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
frostime committed Jan 17, 2025
1 parent 18d3052 commit 737eac2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions public/types.d.ts
Original file line number Diff line number Diff line change
@@ -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' {
Expand Down
5 changes: 4 additions & 1 deletion src/core/data-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 737eac2

Please sign in to comment.