pipipi-pikachu 5 lat temu
rodzic
commit
6220a73641
2 zmienionych plików z 1 dodań i 36 usunięć
  1. 1 1
      src/components/IconFont.vue
  2. 0 35
      src/components/IframeWrapper.vue

+ 1 - 1
src/components/IconFont.vue

@@ -12,7 +12,7 @@ export default {
       type: String,
       required: true,
     },
-  }
+  },
 }
 </script>
 

+ 0 - 35
src/components/IframeWrapper.vue

@@ -1,35 +0,0 @@
-<template>
-  <iframe 
-    class="iframe-wrapper"
-    frameborder="0" 
-    allowfullscreen="true" 
-    :src="src"
-    :width="width"
-    :height="height"
-  ></iframe>
-</template>
-
-<script lang="ts">
-export default {
-  name: 'iframe-wrapper',
-  props: {
-    src: {
-      type: String,
-      required: true,
-    },
-    width: {
-      type: Number,
-    },
-    height: {
-      type: Number,
-    },
-  },
-}
-</script>
-
-<style lang="scss" scoped>
-.iframe-wrapper {
-  transform-origin: 0 0;
-  display: block;
-}
-</style>