Align table actions right, fix toolbar spacing

This commit is contained in:
Pat Hartl 2025-12-05 16:36:01 -06:00
parent da68c79991
commit cf6ca3ce64
2 changed files with 10 additions and 6 deletions

View file

@ -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;
}

View file

@ -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();