From 42b2c54b9b934619d2d29c2daa620c2ced06e67b Mon Sep 17 00:00:00 2001 From: Zack Spear Date: Thu, 29 May 2025 10:01:05 -0700 Subject: [PATCH] style: remove padding for forms in TableContainer elements - Added CSS rules to remove top padding for the first form inside TableContainer elements, improving layout consistency. --- emhttp/plugins/dynamix/styles/default-base.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emhttp/plugins/dynamix/styles/default-base.css b/emhttp/plugins/dynamix/styles/default-base.css index e4238d44e..dcfd6d869 100644 --- a/emhttp/plugins/dynamix/styles/default-base.css +++ b/emhttp/plugins/dynamix/styles/default-base.css @@ -1358,6 +1358,13 @@ a.list { padding-top: 1rem; } + /* Remove padding for forms inside TableContainer elements */ + .TableContainer form:first-of-type, + .TableContainer--widest form:first-of-type, + .TableContainer--no-min-width form:first-of-type { + padding-top: 0; + } + .shade form { padding-top: 0; }