From 4793ee48de2535aa4f0ed5ab596a1bcb751c42c2 Mon Sep 17 00:00:00 2001 From: gebele Date: Fri, 5 Jul 2019 11:48:24 +0000 Subject: links for ppv and npv;fixed overflow in modal --- views/model_details.haml | 8 ++++++-- views/style.scss | 7 ++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/views/model_details.haml b/views/model_details.haml index c95b363..8faf785 100644 --- a/views/model_details.haml +++ b/views/model_details.haml @@ -66,8 +66,12 @@ %td %a{:href=>"https://en.wikipedia.org/wiki/Sensitivity_and_specificity", :rel=>"external"} True #{av[1] =~ /^non/ ? "negative" : "positive"} rate - %td #{av[0] =~ /^non/ ? "Negative" : "Positive"} predictiv value - %td #{av[1] =~ /^non/ ? "Negative" : "Positive"} predictiv value + %td + %a{:href=>"https://en.wikipedia.org/wiki/Positive_and_negative_predictive_values", :rel=>"external"} + #{av[0] =~ /^non/ ? "Negative" : "Positive"} predictiv value + %td + %a{:href=>"https://en.wikipedia.org/wiki/Positive_and_negative_predictive_values", :rel=>"external"} + #{av[1] =~ /^non/ ? "Negative" : "Positive"} predictiv value - keys.each_with_index do |key,idx| %tr / keys diff --git a/views/style.scss b/views/style.scss index 52be743..e6f6100 100644 --- a/views/style.scss +++ b/views/style.scss @@ -65,9 +65,6 @@ ul.share-buttons{ .footer{ margin-top:3em; } -.single-batch{ - width: 100%; -} .single-batch{ table-layout: fixed; width: 100%; @@ -99,3 +96,7 @@ supporters{ white-space: nowrap; width: 1%; } + +.modal-body p { + word-wrap: break-word; +} -- cgit v1.2.3