refactor: 微调操作列宽度

This commit is contained in:
Argo-Tianyi 2021-12-25 18:56:08 +08:00
parent 374392afb3
commit 184b0e2a14
4 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
@page "/Admin/Groups"
<AdminTable TItem="DataAccess.Models.Group" ExtendButtonColumnWidth="260">
<AdminTable TItem="DataAccess.Models.Group" ExtendButtonColumnWidth="270">
<TableToolbarTemplate>
<TableToolbarButton TItem="DataAccess.Models.Group" IsEnableWhenSelectedOneRow="true" Color="Color.Warning" Icon="fa fa-user" Text="分配用户" OnClickCallback="groups => OnAssignmentUsers(groups.First())" />
<TableToolbarButton TItem="DataAccess.Models.Group" IsEnableWhenSelectedOneRow="true" Color="Color.Info" Icon="fa fa-sitemap" Text="分配角色" OnClickCallback="groups => OnAssignmentRoles(groups.First())" />

View File

@ -1,6 +1,6 @@
@page "/Admin/Roles"
<AdminTable TItem="DataAccess.Models.Role" ExtendButtonColumnWidth="340">
<AdminTable TItem="DataAccess.Models.Role" ExtendButtonColumnWidth="325">
<TableToolbarTemplate>
<TableToolbarButton TItem="DataAccess.Models.Role" IsEnableWhenSelectedOneRow="true" Color="Color.Info" Icon="fa fa-user" Text="用户" OnClickCallback="roles => OnAssignmentUsers(roles.First())" />
<TableToolbarButton TItem="DataAccess.Models.Role" IsEnableWhenSelectedOneRow="true" Color="Color.Warning" Icon="fa fa-bank" Text="部门" OnClickCallback="roles => OnAssignmentGroups(roles.First())" />

View File

@ -1,6 +1,6 @@
@page "/Admin/Users"
<AdminTable TItem="DataAccess.Models.User" ExtendButtonColumnWidth="260">
<AdminTable TItem="DataAccess.Models.User" ExtendButtonColumnWidth="270">
<TableToolbarTemplate>
<TableToolbarButton TItem="DataAccess.Models.User" IsEnableWhenSelectedOneRow="true" Color="Color.Warning" Icon="fa fa-bank" Text="分配部门" OnClickCallback="users => OnAssignmentGroups(users.First())" />
<TableToolbarButton TItem="DataAccess.Models.User" IsEnableWhenSelectedOneRow="true" Color="Color.Info" Icon="fa fa-sitemap" Text="分配角色" OnClickCallback="users => OnAssignmentRoles(users.First())" />

View File

@ -104,7 +104,7 @@
.tabs-body-content .tab-scroll-body {
overflow: auto;
height: 100%;
margin-right: -1rem;
padding-right: 1rem;
height: calc(100% + 2rem);
padding: 1rem;
margin: -1rem;
}