From 74f616d5e32a373adae88b3a407ddad8615e3baf Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Thu, 18 Dec 2025 13:23:46 +0100 Subject: [PATCH] Fixed entities list not filling whole table --- src/Server/Views/Home/Index.cshtml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Server/Views/Home/Index.cshtml b/src/Server/Views/Home/Index.cshtml index 8399e16..354b3dc 100644 --- a/src/Server/Views/Home/Index.cshtml +++ b/src/Server/Views/Home/Index.cshtml @@ -446,6 +446,7 @@ const normalizedFilter = filterText.toLowerCase(); + let isFirstEntity = true; entities .filter(e => e.Name.toLowerCase().includes(normalizedFilter)) .forEach(entity => { @@ -453,6 +454,10 @@ var nameCell = document.createElement('td'); nameCell.textContent = entity.Name; + if (isFirstEntity) { + nameCell.classList.add('w-100'); // Otherwise the table doesn't use the full width + isFirstEntity = false; + } row.appendChild(nameCell); var actionCell = document.createElement('td');