diff --git a/src/client/components/ui/window.vue b/src/client/components/ui/window.vue index 781c6ef15170fe27009328e5641bde02b77287e7..d545ac48276605a0bc127778229af26bf5ee4d2c 100644 --- a/src/client/components/ui/window.vue +++ b/src/client/components/ui/window.vue @@ -315,11 +315,13 @@ export default defineComponent({ // 高ã•ã‚’é©ç”¨ applyTransformHeight(height) { + if (height > window.innerHeight) height = window.innerHeight; (this.$el as any).style.height = height + 'px'; }, // å¹…ã‚’é©ç”¨ applyTransformWidth(width) { + if (width > window.innerWidth) width = window.innerWidth; (this.$el as any).style.width = width + 'px'; },