From cf1a76441c60e89db090293f847a91c4d0331d39 Mon Sep 17 00:00:00 2001 From: mtd91429 Date: Sat, 11 May 2019 19:18:50 -0400 Subject: [PATCH] Make tooltip buttons have consistent appearance Change class of `expandlink` from `ui-corner-all` to `ui-button` to be consistent with `morelink` and `closelink` --- notebook/static/notebook/js/tooltip.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebook/static/notebook/js/tooltip.js b/notebook/static/notebook/js/tooltip.js index 80e247e01..c33f88240 100644 --- a/notebook/static/notebook/js/tooltip.js +++ b/notebook/static/notebook/js/tooltip.js @@ -37,8 +37,8 @@ define([ // build the buttons menu on the upper right // expand the tooltip to see more - var expandlink = $('').attr('href', "#").addClass("ui-corner-all") //rounded corner - .attr('role', "button").attr('id', 'expanbutton').attr('title', i18n.msg._('Grow the tooltip vertically (press shift-tab twice)')).click(function () { + var expandlink = $('').attr('href', "#").attr('role', "button").addClass('ui-button') + .attr('id', 'expanbutton').attr('title', i18n.msg._('Grow the tooltip vertically (press shift-tab twice)')).click(function () { that.expand(); event.preventDefault(); }).append(