From e5d4d2f6b88e74bfbec41b6600fa571efa3610da Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Thu, 29 Jan 2026 13:11:48 -0600 Subject: SHIM: Simplify preview UI. Hard-code container width. This hard-codes the width of the table's container element to ensure that the overflow property is respected. Without the hard-coded width, the table - generated with javascript - overrides the page width, causing all content to reflow. We do not want that. This also get's rid of the unnecessary "card" interface. --- .../phenotypes/macro-display-preview-table.html | 24 ++++++++-------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/uploader/templates/phenotypes/macro-display-preview-table.html b/uploader/templates/phenotypes/macro-display-preview-table.html index d31c7fa..6dffe9f 100644 --- a/uploader/templates/phenotypes/macro-display-preview-table.html +++ b/uploader/templates/phenotypes/macro-display-preview-table.html @@ -1,19 +1,11 @@ {%macro display_preview_table(tableid, filetype)%} -
-
-
{{filetype | title}}: File Preview
-
- - - - - - - - - -
-
-
+
+
{{filetype | title}}: File Preview
+ + + + +
{%endmacro%} -- cgit 1.4.1