aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-11-03 17:25:37 +0300
committerBonfaceKilz2023-11-27 12:32:27 +0300
commit76ecc54760416fa32ff251d08a3d53d40b6a1cd6 (patch)
tree8cfedbdf44fb325629003288912e0e8ad67b096a
parent0d90c71c287a20a775a5dc8f197ac3646c02ff36 (diff)
downloadgenenetwork2-76ecc54760416fa32ff251d08a3d53d40b6a1cd6.tar.gz
Float the details panel only when metadata exists.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r--wqflask/wqflask/templates/dataset.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/dataset.html b/wqflask/wqflask/templates/dataset.html
index 244f529e..e910b37c 100644
--- a/wqflask/wqflask/templates/dataset.html
+++ b/wqflask/wqflask/templates/dataset.html
@@ -16,6 +16,13 @@
width: fit-content;
height: fit-content;
padding: 0;
+ {% if dataset.description or dataset.specificity or dataset.experimentDesignInfo or
+ dataset.caseInfo or dataset.tissue or
+ dataset.platform or dataset.processingInfo or
+ dataset.notes or dataset.references or dataset.acknowledgment or dataset.contributors
+ %}
+ float: right;
+ {% endif %}
}
.panel-metadata dt {