Ticket #21398: 0003-Place-tooltips-on-the-right-of-the-elements.patch

File 0003-Place-tooltips-on-the-right-of-the-elements.patch, 964 bytes (added by cypherpunks, 3 years ago)
  • js/views/details/main.js

    From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
    From: cypherpunks <cypherpunks@torproject.org>
    Date: Tue, 7 Feb 2017 18:05:16 +0000
    Subject: [PATCH 3/3] Place tooltips on the right of the elements
    
    The tooltips for the left column on the details page were cut off with
    certain window dimensions. Placing the tooltips on the right of the
    elements is the easiest way to solve this issue.
    
    Closes #21398.
    ---
     js/views/details/main.js | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/js/views/details/main.js b/js/views/details/main.js
    index ce4f87b..24c0064 100644
    a b define([ 
    240240            }
    241241
    242242            $("#loading").hide();
    243             $(".tip").tooltip();
     243            $(".tip").tooltip({ placement: 'right' });
    244244        },
    245245        error: function() {
    246246            var compiledTemplate = _.template(errorDetailsTemplate, {relay: null});