Align table actions right, fix toolbar spacing
This commit is contained in:
parent
da68c79991
commit
cf6ca3ce64
2 changed files with 10 additions and 6 deletions
|
|
@ -16,6 +16,10 @@
|
|||
|
||||
.table-toolbar {
|
||||
padding: 12px;
|
||||
|
||||
.ant-input-search {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.ant-table-row-indent + .ant-table-row-expand-icon {
|
||||
|
|
@ -23,4 +27,8 @@
|
|||
display: inline;
|
||||
float: none;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.table-data-actions {
|
||||
text-align: right;
|
||||
}
|
||||
|
|
@ -1,9 +1,4 @@
|
|||
using AntDesign.TableModels;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace LANCommander.Server.UI.Components
|
||||
{
|
||||
|
|
@ -27,6 +22,7 @@ namespace LANCommander.Server.UI.Components
|
|||
ColumnVisibility.Add(ColIndex, !Hide);
|
||||
|
||||
ClassMapper.If("column-hidden", () => ColumnVisibility.ContainsKey(ColIndex) && !ColumnVisibility[ColIndex]);
|
||||
ClassMapper.Add("table-data-actions");
|
||||
|
||||
StateHasChanged();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue