Firewall, window_highlight_table_option(), safari seems to miss the border by one pixel, better to leave 1px spacing when animating the arrow to the right.

This commit is contained in:
Ad Schellevis 2019-07-11 13:45:48 +02:00
parent e250b14ba7
commit a6cd706755

View File

@ -161,7 +161,7 @@ function window_highlight_table_option()
container.css('white-space', 'nowrap');
title_td.append(container);
let animate_width = title_td.width() - container.position().left+ title_td.find('i:eq(0)').position().left;
let animate_width = title_td.width() - container.position().left+ title_td.find('i:eq(0)').position().left - 1;
$('html, body').animate({scrollTop: option.position().top}, 500, function() {
container.append(arrow);
container.animate({width: animate_width}, 800);