잉여개발기 (SPDV) 6 лет назад
Родитель
Сommit
7e0f877eed
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      route/tool/set_mark/namumark.py

+ 3 - 1
route/tool/set_mark/namumark.py

@@ -7,7 +7,7 @@ import re
 def table_parser(data, cel_data, start_data, num = 0):
     table_class = 'class="'
     div_style = 'style="'
-    all_table = 'style="width: 100%;'
+    all_table = 'style="'
     cel_style = 'style="'
     row_style = 'style="'
     row = ''
@@ -19,6 +19,8 @@ def table_parser(data, cel_data, start_data, num = 0):
             div_style += 'width: ' + table_width.groups()[0] + 'px;'
         else:
             div_style += 'width: ' + table_width.groups()[0] + ';'
+
+        all_table += 'width: 100%;'
     
     table_height = re.search("<table ?height=((?:(?!>).)*)>", data)
     if table_height: