From c196bced9203625b4fa35d8d2752b70893ad3488 Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 1 Jun 2021 20:59:33 +0000 Subject: Make the container div for the trait table have a minimum width scaling off of the trait table width, to avoid the border overlapping with the table --- wqflask/wqflask/show_trait/show_trait.py | 2 -- wqflask/wqflask/templates/show_trait.html | 2 +- wqflask/wqflask/templates/show_trait_edit_data.html | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) (limited to 'wqflask') diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py index a02da872..9ee6a16d 100644 --- a/wqflask/wqflask/show_trait/show_trait.py +++ b/wqflask/wqflask/show_trait/show_trait.py @@ -624,8 +624,6 @@ def get_table_widths(sample_groups, sample_column_width, has_num_cases=False): trait_table_width += 80 trait_table_width += len(sample_groups[0].attributes) * 88 - trait_table_width = str(trait_table_width) + "px" - return stats_table_width, trait_table_width diff --git a/wqflask/wqflask/templates/show_trait.html b/wqflask/wqflask/templates/show_trait.html index fc14822c..3dbf5f57 100644 --- a/wqflask/wqflask/templates/show_trait.html +++ b/wqflask/wqflask/templates/show_trait.html @@ -102,7 +102,7 @@
-