Skip to content

Commit

Permalink
💄 优化块引弹窗窗口大小
Browse files Browse the repository at this point in the history
  • Loading branch information
Achuan-2 committed Dec 9, 2024
1 parent 274f654 commit 53ec531
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class FootnoteDialog {
this.dialog.style.overflow = 'auto';
this.dialog.style.zIndex = '2';
this.dialog.style.width = "500px"
this.dialog.style.height = "500px"
this.dialog.style.maxHeight = "500px"
document.body.appendChild(this.dialog);

// Initialize Protyle
Expand Down Expand Up @@ -213,8 +213,8 @@ class FootnoteDialog2 {
this.dialog.style.background = 'var(--b3-theme-background)';
this.dialog.style.boxShadow = 'var(--b3-dialog-shadow)';
this.dialog.style.resize = 'auto';
this.dialog.style.width = "500px";
this.dialog.style.height = "500px";
this.dialog.style.width = "500px"
this.dialog.style.maxHeight = "500px"

document.body.appendChild(this.dialog);

Expand Down

0 comments on commit 53ec531

Please sign in to comment.