diff --git a/LANCommander.Server/Styles/_table.scss b/LANCommander.Server/Styles/_table.scss index 9701d9d2..3c6aac2a 100644 --- a/LANCommander.Server/Styles/_table.scss +++ b/LANCommander.Server/Styles/_table.scss @@ -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; } \ No newline at end of file diff --git a/LANCommander.Server/UI/Components/DataTable/DataActions.cs b/LANCommander.Server/UI/Components/DataTable/DataActions.cs index fe015322..8ca3941a 100644 --- a/LANCommander.Server/UI/Components/DataTable/DataActions.cs +++ b/LANCommander.Server/UI/Components/DataTable/DataActions.cs @@ -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();