Selaa lähdekoodia

移动端元素宽度百分百

cldu 1 viikko sitten
vanhempi
commit
db5c358acb
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      src/views/report/PreviewDetail.vue

+ 3 - 0
src/views/report/PreviewDetail.vue

@@ -32,6 +32,9 @@ function formatSmartStyle() {
             'flex': 'none',
             'flex': 'none',
             'width': '100%'
             'width': '100%'
         });
         });
+        $('.report-drag-item-wrap').css({
+            'width': '100%',
+        });
         
         
         document.querySelectorAll('div[comp-type="text"]').forEach(function(div) {
         document.querySelectorAll('div[comp-type="text"]').forEach(function(div) {
             div.style.height = 'auto';
             div.style.height = 'auto';