From 606e14e4125a096368f3e6ac915010f938d87b83 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Wed, 26 Sep 2018 16:03:52 +1200 Subject: [PATCH] comparison: use style on hidden select instead of CSS class to hide This isn't a visual thing, this select element must remain hidden, so it seems a bit more appropriate to me to specify the style directly on the element rather than using a CSS class to do it. Signed-off-by: Paul Eggleton --- layerindex/static/css/additional.css | 4 ---- templates/layerindex/comparisonrecipeselect.html | 2 +- templates/layerindex/comparisonrecipeselectdetail.html | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/layerindex/static/css/additional.css b/layerindex/static/css/additional.css index dc48971..37759ed 100644 --- a/layerindex/static/css/additional.css +++ b/layerindex/static/css/additional.css @@ -263,10 +263,6 @@ td.info { background-color: #d9edf7 !important; } -.hidden-select { - display: none !important; -} - .pre-plain { background-color: transparent; border-style: none; diff --git a/templates/layerindex/comparisonrecipeselect.html b/templates/layerindex/comparisonrecipeselect.html index f819716..395ce75 100644 --- a/templates/layerindex/comparisonrecipeselect.html +++ b/templates/layerindex/comparisonrecipeselect.html @@ -38,7 +38,7 @@ {{ hidden }} {% endfor %} - {{ comparison_form.cover_status }} diff --git a/templates/layerindex/comparisonrecipeselectdetail.html b/templates/layerindex/comparisonrecipeselectdetail.html index 02b4891..cd3e184 100644 --- a/templates/layerindex/comparisonrecipeselectdetail.html +++ b/templates/layerindex/comparisonrecipeselectdetail.html @@ -34,7 +34,7 @@ {{ hidden }} {% endfor %} - Coverage {{ comparison_form.cover_status }}