Skip to content

Commit

Permalink
fix: Fix mask height setting problem (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwusanyu-c authored Aug 22, 2023
1 parent 8b47633 commit 150c88d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions components/Mask/src/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
: parentEl.getBoundingClientRect();
if (containerDomRect) {
drawerWidth = containerDomRect.width ? `${containerDomRect.width}px` : '100%';
drawerHeight = containerDomRect.height ? `${containerDomRect.height}px` : '100%';
// drawerTop = containerDomRect.top;
// drawerLeft = containerDomRect.left;
drawerHeight = '100%';
}
};
Expand Down
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 150c88d

Please sign in to comment.