From d208b19ddb3199b4ffbcb98cceee8f5e465915b4 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 27 Aug 2024 12:20:08 +0200 Subject: [PATCH] fix: use position fixed for input and textarea in tableeditor Otherwise when scrolling the table, the input will not appear at the expected position, and may even appear outside of the view when the table is bigger than the viewport. Drawback: the table will resize its columns when the input/textarea is created (as position: sticky is in the flow). So I've also removed the width reset. fix #2071 --- umap/static/umap/css/tableeditor.css | 2 -- 1 file changed, 2 deletions(-) diff --git a/umap/static/umap/css/tableeditor.css b/umap/static/umap/css/tableeditor.css index b304825c..070d4422 100644 --- a/umap/static/umap/css/tableeditor.css +++ b/umap/static/umap/css/tableeditor.css @@ -56,8 +56,6 @@ .umap-table-editor textarea, .umap-table-editor input[type=text] { border-radius: initial; - width: initial; - position: fixed; } .umap-table-editor th button { transform: rotate(90deg);