mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
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:
parent
e250b14ba7
commit
a6cd706755
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user