Explorar o código

模块权限,表头调整

MaiXinRong hai 2 semanas
pai
achega
b4b9252ffc
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 2 0
      app/public/css/main.css
  2. 1 1
      app/view/sp_setting/permission.ejs

+ 2 - 0
app/public/css/main.css

@@ -47,6 +47,7 @@ font-size: .875rem;
   background: #e9ecef;
   font-weight: normal;
   color:#000;
+  vertical-align: middle;
 }
 .table td{
     vertical-align: middle;
@@ -2186,6 +2187,7 @@ animation:shake 1s .2s ease both;}
     display: flex;
     margin: auto;
 }
+
 .list-waring{
     background-color: #ffeeba!important;
 }

+ 1 - 1
app/view/sp_setting/permission.ejs

@@ -74,7 +74,7 @@
                                                 <th width="240px">公司</th>
                                                 <th width="150px">职位</th>
                                                 <% for (const key in permissionConst) { %>
-                                                <th><%- permissionConst[key].title %><input class="ml-1 form-check-input" type="checkbox" name="permission-check-all" ptype="<%- ptype %>" pvalue="<%- permissionConst[key].value %>"></th>
+                                                <th><%- permissionConst[key].title %><br/><input class="ml-1" type="checkbox" name="permission-check-all" ptype="<%- ptype %>" pvalue="<%- permissionConst[key].value %>" style="vertical-align: middle"></th>
                                                 <% } %>
                                             </tr>
                                             </thead>