From f5fd0eb6e9f3cf24c1afc5e2c9941f33aa220661 Mon Sep 17 00:00:00 2001 From: David Larlet Date: Fri, 12 Jul 2024 14:23:54 -0400 Subject: [PATCH] fix: remove padding from table editor inputs Also, decrease line-height of header cells --- umap/static/umap/css/tableeditor.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/umap/static/umap/css/tableeditor.css b/umap/static/umap/css/tableeditor.css index 7a7b5d7a..b304825c 100644 --- a/umap/static/umap/css/tableeditor.css +++ b/umap/static/umap/css/tableeditor.css @@ -13,7 +13,7 @@ .umap-table-editor thead { text-align: center; height: 48px; - line-height: 48px; + line-height: 28px; background-color: var(--color-darkGray); } .umap-table-editor thead tr { @@ -38,6 +38,9 @@ padding: 10px; vertical-align: top; } +.umap-table-editor td:has(input) { + padding: 0; +} .umap-table-editor tr:nth-child(even) { background-color: var(--color-mediumGray); }