Temporary fix for 1px issue with controls header on FF

This commit is contained in:
Thomas Gelf 2014-03-08 20:07:00 +01:00
parent 62b7c71ff2
commit a03f24b7ed
1 changed files with 3 additions and 1 deletions

View File

@ -333,7 +333,9 @@
$el.css({
position : 'fixed',
top : $parent.offset().top,
width : $fake.css('width')
// Firefox gives 1px too much depending on total width.
// TODO: find a better solution for -1
width : ($fake.width() - 1) + 'px'
});
$fake.css({