1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-17 07:52:42 +01:00

Start UI cleanup/refinements

This commit is contained in:
Chris 2015-04-07 00:31:09 -06:00
parent fbecf91fc8
commit 203c123dbc

View File

@ -32,7 +32,7 @@
var resizeFrame = function() {
var navRect = document.getElementById('dashboard-nav').getBoundingClientRect();
var viewRect = document.documentElement.getBoundingClientRect();
document.getElementById('iframe').style.setProperty('height', (viewRect.height - navRect.height) + 'px');
document.getElementById('iframe').style.setProperty('height', (viewRect.bottom - navRect.bottom) + 'px');
};
/******************************************************************************/