rabin 1 year ago
parent
commit
66a2cfea96
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vendor/dever-main/framework/src/Dever/Template/Common.php

+ 2 - 2
vendor/dever-main/framework/src/Dever/Template/Common.php

@@ -658,7 +658,7 @@ class Common
      */
     public static function show_table($name, $content, $total = false, $head = false, $pic = '', $index = 0)
     {
-        $html = '<section style="width: fit-content;">';
+        $html = '<section style="width: 100%;">';
         if ($name && is_string($name)) {
             $html .= '<h3>'.$name.'</h3>';
         }
@@ -733,7 +733,7 @@ class Common
             $class = 'layui-card-header';
         }
         if ($head['name']) {
-            $html .= '<div class="'.$class.' detail-header" style="justify-content:normal">';
+            $html .= '<div class="'.$class.' detail-header" style="justify-content:normal;font-weight:bold">&nbsp;&nbsp;';
             $html .= $head['name'];
             $html .= '</div>';
         }