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:
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
Block a user