From 9afcb871b7bbd63b80429a6638f5e2607e46d1a6 Mon Sep 17 00:00:00 2001 From: Tim Haasdyk Date: Thu, 23 Nov 2023 14:18:00 +0100 Subject: [PATCH] Give admin tables min-height --- frontend/src/lib/app.postcss | 5 ----- frontend/src/routes/(authenticated)/admin/+page.svelte | 2 +- .../src/routes/(authenticated)/admin/ProjectTable.svelte | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/frontend/src/lib/app.postcss b/frontend/src/lib/app.postcss index 5d86214e0..22f898774 100644 --- a/frontend/src/lib/app.postcss +++ b/frontend/src/lib/app.postcss @@ -90,11 +90,6 @@ table tr:nth-last-child(-n + 2):not(:nth-child(-n + 2)) .dropdown { @apply dropdown-top; } -/* add some padding for dropdowns if the table has less than 3 elements */ -.overflow-x-auto:has(> table .dropdown):not(:has(> table tr:nth-child(3))) { - padding-bottom: 80px; -} - .prose :where(a) { /* bold is just a bit too loud, especially when there are lots of link (e.g. our login welcome message) */ @apply font-normal; diff --git a/frontend/src/routes/(authenticated)/admin/+page.svelte b/frontend/src/routes/(authenticated)/admin/+page.svelte index 89dec897f..b6af05c7f 100644 --- a/frontend/src/routes/(authenticated)/admin/+page.svelte +++ b/frontend/src/routes/(authenticated)/admin/+page.svelte @@ -96,7 +96,7 @@
-
+
diff --git a/frontend/src/routes/(authenticated)/admin/ProjectTable.svelte b/frontend/src/routes/(authenticated)/admin/ProjectTable.svelte index bab0b5fda..4914da4d3 100644 --- a/frontend/src/routes/(authenticated)/admin/ProjectTable.svelte +++ b/frontend/src/routes/(authenticated)/admin/ProjectTable.svelte @@ -179,7 +179,7 @@ async function softDeleteProject(project: Project): Promise {
-
+