mirror of https://github.com/gorhill/uBlock.git
Start UI cleanup/refinements
This commit is contained in:
parent
fbecf91fc8
commit
203c123dbc
|
@ -32,7 +32,7 @@
|
||||||
var resizeFrame = function() {
|
var resizeFrame = function() {
|
||||||
var navRect = document.getElementById('dashboard-nav').getBoundingClientRect();
|
var navRect = document.getElementById('dashboard-nav').getBoundingClientRect();
|
||||||
var viewRect = document.documentElement.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');
|
||||||
};
|
};
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
Loading…
Reference in New Issue