app/views/educode_sales/roles/edit.html.erb in educode_sales-0.6.8 vs app/views/educode_sales/roles/edit.html.erb in educode_sales-0.6.9
- old
+ new
@@ -1,13 +1,13 @@
<div class="layui-tab layui-tab-brief">
<ul class="layui-tab-title">
<li class="layui-this">操作权限</li>
<li>数据浏览权限</li>
</ul>
- <div class="layui-tab-content">
- <div class="layui-tab-item layui-show">
- <form class="layui-form line" action="">
+ <div class="layui-tab-content caozuo">
+ <div class="layui-tab-item layui-show" style="height: 800px;!important;">
+ <form class="layui-form " action="">
<% id = 0 %>
<% EducodeSales::Permission.all.order(position: :asc).group_by{ |d| d.clazz}.each do |k, d| %>
<div class="layui-form-item">
<label class="layui-form-label"><%= k %></label>
<div class="layui-input-block">
@@ -137,6 +137,12 @@
})
return false;
})
//…
});
-</script>
\ No newline at end of file
+</script>
+<style>
+ .caozuo .layui-tab-item {
+ width: 100% !important;
+ height: 900px !important;
+ }
+</style>