jackson hai 11 meses
pai
achega
088f4520a2
Modificáronse 2 ficheiros con 9 adicións e 5 borrados
  1. 5 5
      components.d.ts
  2. 4 0
      src/views/Home.vue

+ 5 - 5
components.d.ts

@@ -1,11 +1,11 @@
-/* eslint-disable */
-// @ts-nocheck
-// Generated by unplugin-vue-components
+// generated by unplugin-vue-components
+// We suggest you to commit this file into source control
 // Read more: https://github.com/vuejs/core/pull/3399
+import '@vue/runtime-core'
+
 export {}
 
-/* prettier-ignore */
-declare module 'vue' {
+declare module '@vue/runtime-core' {
   export interface GlobalComponents {
     PollUp: typeof import('./src/components/PollUp.vue')['default']
     RouterLink: typeof import('vue-router')['RouterLink']

+ 4 - 0
src/views/Home.vue

@@ -34,6 +34,8 @@ export default defineComponent({
   display: flex;
   width: 1000px;
   height: 800px;
+  max-width: 90%;
+  max-height: 90%;
   background: #fff;
   border: 0.5px solid #bbb;
   border-radius: 10px;
@@ -45,6 +47,8 @@ export default defineComponent({
   .home {
     width: 100%;
     height: 100%;
+    max-width: 100%;
+    max-height: 100%;
     border-radius: 0;
     border: none;
   }