Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
64195478
Commit
64195478
authored
Oct 03, 2018
by
Piotr Gawron
Browse files
footer is taken into consideration
parent
71253d29
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend-js/src/main/js/gui/Panel.js
View file @
64195478
...
@@ -335,6 +335,11 @@ Panel.prototype.onresize = function () {
...
@@ -335,6 +335,11 @@ Panel.prototype.onresize = function () {
var
self
=
this
;
var
self
=
this
;
var
footerPosition
=
window
.
innerHeight
;
var
footerPosition
=
window
.
innerHeight
;
var
footerHeight
=
Math
.
max
(
0
,
$
(
"
.minerva-logo-footer
"
).
outerHeight
());
footerHeight
=
Math
.
max
(
footerHeight
,
$
(
"
.minerva-footer-table
"
).
outerHeight
());
footerPosition
-=
footerHeight
;
// compute the width (we can only compute it for visible elements)
// compute the width (we can only compute it for visible elements)
var
size
=
100000
;
var
size
=
100000
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment