mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
use % instead of vh for max rcm height
This commit is contained in:
parent
d372b25f85
commit
02e4d57a63
|
|
@ -10489,7 +10489,7 @@ var rcm = (function () {
|
|||
var vw = document.documentElement.clientWidth;
|
||||
|
||||
var maxh = Math.min(y, vh / 2);
|
||||
menu.style.maxHeight = 'calc(100vh - ' + maxh + 'px - 2em)';
|
||||
menu.style.maxHeight = 'calc(100% - ' + maxh + 'px - 2em)';
|
||||
|
||||
if(y > vh / 2){
|
||||
// low click => menu upwards
|
||||
|
|
|
|||
Loading…
Reference in a new issue