diff --git a/Web/Phantom.Web.Components/Tables/Cell.razor b/Web/Phantom.Web.Components/Tables/Cell.razor index 19ca5e1..5e1b123 100644 --- a/Web/Phantom.Web.Components/Tables/Cell.razor +++ b/Web/Phantom.Web.Components/Tables/Cell.razor @@ -1,10 +1,11 @@ -@if (Url == null) { +@using Phantom.Web.Components.Utils +@if (Url == null) { <td @attributes="AdditionalAttributes"> @ChildContent </td> } else { - <td class="p-0" @attributes="AdditionalAttributes"> + <td @attributes="AdditionalAttributes" class="@(BlazorUtils.CombineClassNames(AdditionalAttributes, "p-0"))"> <a class="table-link" href="@Url">@ChildContent</a> </td> } diff --git a/Web/Phantom.Web/wwwroot/css/site.css b/Web/Phantom.Web/wwwroot/css/site.css index 734d141..f87679d 100644 --- a/Web/Phantom.Web/wwwroot/css/site.css +++ b/Web/Phantom.Web/wwwroot/css/site.css @@ -67,7 +67,9 @@ code { border-top: 2px solid #a6a6a6; } -.table th, .table td, .table td > .table-link { +.table th, +.table td, +.table td > .table-link { padding: 0.5rem 1.25rem; }