star7th 6 лет назад
Родитель
Сommit
930a3c6c9f
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      web_src/src/components/page/Diff.vue

+ 5 - 2
web_src/src/components/page/Diff.vue

@@ -48,7 +48,6 @@ label:hover {
   padding: 1em;
 }
 #diffoutput {
-    width: 835px;
     margin: 0 auto;
 }
 
@@ -131,7 +130,11 @@ export default {
       
     })
 
-
+    this.set_bg_grey();
+  },
+  beforeDestroy(){
+    this.unset_bg_grey();
   }
+  
 }
 </script>