tremble před 4 roky
rodič
revize
bbea2ab920
2 změnil soubory, kde provedl 8 přidání a 4 odebrání
  1. 6 2
      src/main.js
  2. 2 2
      src/views/Home.vue

+ 6 - 2
src/main.js

@@ -5,11 +5,15 @@ import axios from 'axios'
 import 'viewerjs/dist/viewer.css'
 import Viewer from 'v-viewer'
  
-
 Vue.config.productionTip = false
 Vue.prototype.$http = axios
 
-Vue.use(Viewer)
+Vue.use(Viewer,{
+  defaultOptions: {
+    title:false
+  }
+})
+
 
 new Vue({
   router,

+ 2 - 2
src/views/Home.vue

@@ -349,7 +349,7 @@ export default {
           }
           img{
             max-height: 80vh;
-            width: auto;
+            width: 90%;
           }
           iframe {
             height: 500px;
@@ -376,7 +376,7 @@ export default {
           }
           img{
             max-height: 80vh;
-            width: auto;
+            width: 90%;
           }
           iframe {
             width: 100%;