From e8dac5d1455ebdd228407f4318ff75341c4bc299 Mon Sep 17 00:00:00 2001 From: Ben Hutton Date: Tue, 14 Apr 2015 16:04:01 +0100 Subject: [PATCH] Popover down does not fit when using 13" screens Currently the configuration of the bootstrap popover has the placement set to `bottom`. This means that smaller screens (for example a 13" MBP) would not be able to see the full content of the popover. By changing this to `right`, it would allow the content to be displayed correctly, without going outside the screen! Discovered this problem today in an instance of avrodoc, and found it already reported at https://github.com/ga4gh/dwg-website/issues/4 --- public/js/avrodoc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/avrodoc.js b/public/js/avrodoc.js index b0e86fbb..cf825bc0 100644 --- a/public/js/avrodoc.js +++ b/public/js/avrodoc.js @@ -48,7 +48,7 @@ function AvroDoc(input_schemata) { $(this).popover({ trigger: 'hover', - placement: 'bottom', + placement: 'right', title: function () { return popover.title; }, content: function () { return popover.content; }, delay: {show: 200, hide: 50},