bloccata posizione menu nav canti
This commit is contained in:
parent
b6c4278206
commit
0c68c16791
|
@ -120,8 +120,9 @@
|
|||
|
||||
<div class="d-table h-100 w-100">
|
||||
|
||||
<div id="colNavigazione" class="d-table-cell menuNavigazione align-top"">
|
||||
<div id="accordionNav" class="pr-2">
|
||||
<div id="colNavigazione" class="d-table-cell menuNavigazione">
|
||||
<div id="accordionNav" class="pr-2 sticky-top">
|
||||
<div style="height: 63px; overflow:hidden;"> </div>
|
||||
<div class="card">
|
||||
<div class="card-header px-1" id="headingOne">
|
||||
<h6 class="mb-0">
|
||||
|
@ -406,10 +407,11 @@
|
|||
|
||||
<div id="colVisualizza" class="d-table-cell bg-lida-vis border-left border-bottom align-top">
|
||||
|
||||
<div style="height: 63px; overflow:hidden;"> </div>
|
||||
<div class="d-table h-75 w-100">
|
||||
<div class="d-table-row">
|
||||
<div class="blog-main visCanto w-100 h-100">
|
||||
<div id='displaycanto' class="w-100 py-3 pl-3"></div>
|
||||
<div class="blog-main visCanto h-100">
|
||||
<div id='displaycanto' class="py-3 pl-3 w-100"></div>
|
||||
<div class="ui-resizable-handle ui-resizable-s border-bottom doubleborder"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -423,11 +425,13 @@
|
|||
</div>
|
||||
|
||||
<div id="colMinimap" class="d-table-cell bg-lida-vis minimap border-right border-bottom align-top">
|
||||
<div style="height: 63px; overflow:hidden;"> </div>
|
||||
<div id="displayminimap" class="col p-0 m-0 w-100 h-100"></div>
|
||||
</div>
|
||||
|
||||
<div id="colRicerca" class="d-table-cell menuRicerca align-top">
|
||||
|
||||
<div style="height: 63px; overflow:hidden;"> </div>
|
||||
<div class="w-100 pl-2 py-0 m-0">
|
||||
|
||||
<form>
|
||||
|
|
|
@ -17,7 +17,7 @@ let initOffset = '';
|
|||
|
||||
function drawMinimap(name){
|
||||
currentMinimap = name;
|
||||
initOffset = parseInt($("body").css("padding-top").replace("px", ""));
|
||||
initOffset = parseInt($("body").css("padding-top").replace("px", ""))+63;
|
||||
showMinimap();
|
||||
$(displayCantoId).scrollTop(0);
|
||||
$(minimapviewerId).offset({ top: initOffset});
|
||||
|
@ -93,8 +93,7 @@ function showMinimap() {
|
|||
let viewerHeight = (maxHeight*heightRatio)-2; // -2 = bordi
|
||||
let viewerWidth = Math.min(viewerHeight/resizableRatio, maxWidth-2);
|
||||
|
||||
realScale = (maxHeight/miniCantoHeight);
|
||||
|
||||
realScale = Math.min((maxHeight/miniCantoHeight), 1);
|
||||
minimap.style.width = '100%';
|
||||
|
||||
minimapContent.style.transform = `scale(${realScale})`;
|
||||
|
|
Loading…
Reference in New Issue