-
Notifications
You must be signed in to change notification settings - Fork 617
fix: 3d resize vertically #7621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
f5cbd54
54579a9
75e854e
67f84fa
0c0b51b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| <template> | ||
| <div | ||
| ref="container" | ||
| class="relative h-full w-full" | ||
| class="relative h-full w-full min-h-0 overflow-hidden" | ||
| data-capture-wheel="true" | ||
| @pointerdown.stop | ||
| @pointermove.stop | ||
|
|
@@ -65,3 +65,15 @@ onUnmounted(() => { | |
| props.cleanup() | ||
| }) | ||
| </script> | ||
|
|
||
| <style scoped> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd like to avoid new Also, same question about any
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I appreciate the guidance and the good example. 👍 I’ll revise the code and align with the approach going forward. |
||
| :deep(canvas) { | ||
| position: absolute !important; | ||
| top: 0; | ||
| left: 0; | ||
| width: 100% !important; | ||
| height: 100% !important; | ||
| display: block !important; | ||
| outline: none; | ||
| } | ||
| </style> | ||
Uh oh!
There was an error while loading. Please reload this page.