corretti bug di visualizzazione info e note

This commit is contained in:
Luca Trupiano 2023-04-27 12:58:51 +02:00
parent eaaf0d28b4
commit fcfc7e7af1
5 changed files with 11 additions and 8 deletions

View File

@ -18,7 +18,7 @@ html, body {
}
.tableMain {
height: 97%;
height: 98%;
min-height: 600px;
}
@ -32,7 +32,7 @@ html, body {
}
#colVisualizza {
max-height: 95%;
max-height: 98%;
min-height: 600px;
}

View File

@ -18,7 +18,7 @@ html, body {
}
.tableMain {
height: 97%;
height: 98%;
min-height: 600px;
}
@ -32,7 +32,7 @@ html, body {
}
#colVisualizza {
max-height: 95%;
max-height: 98%;
min-height: 600px;
}

View File

@ -479,11 +479,11 @@
<div class="tab-content visInfo w-100 d-flex bg-lida-vis" id="vis-TabContent" style="flex-direction: column;">
<div class="tab-pane fade show active p-0 bg-lida-vis" id="vis0" role="tabpanel" aria-labelledby="vis0-tab">
<div id='displaynote' class="pt-3 px-3">Visualizza commenti<br>
<div id='displaynote'>Visualizza commenti<br>
</div>
</div>
<div class="tab-pane fade p-0 bg-lida-vis" id="vis1" role="tabpanel" aria-labelledby="vis1-tab">
<div id='displayinfo' class="pt-3 px-3">Visualizza struttura periodo<br>
<div id='displayinfo'>Visualizza struttura periodo<br>
</div>
</div>
</div>

View File

@ -175,17 +175,19 @@ $(document).ready(function() {
$(".visCanto").resizable({
handles: "s",
minHeight: 80,
minHeight: 60,
//maxHeight: 880,
alsoResize: "#displaycanto",
resize: function(event, ui) {
console.log($("#colVisualizza").css("height"));
$("#displaycanto").width(" min-content");
var infoHeightToSet = $("body")[0].clientHeight*cssTableMainHeight - $(visCantoClass)[0].clientHeight-2-63-2
var infoHeightToSet = $("body")[0].clientHeight*cssTableMainHeight - $(visCantoClass)[0].clientHeight-2-63-2-46;
$("#displayinfo").css("maxHeight", infoHeightToSet+"px");
$("#displayinfo").css("height", infoHeightToSet+"px");
$("#displaynote").css("maxHeight", infoHeightToSet+"px");
$("#displaynote").css("height", infoHeightToSet+"px");
$(".visInfo").css("height", (infoHeightToSet+4)+"px");
console.log($("#colVisualizza").css("height"));
getDimensionsDiv(true);
},
stop: function(event, ui) {

View File

@ -910,6 +910,7 @@ function _sentenceStructArcs_new(d3,DOM,width,margin,sentenceheight,lisid,data_f
*/
const arcGroup = container
.attr ("id", "periodograph")
.attr ("class", "p-3")
.attr("width",null)
.attr("height",null)
.attr("name", lisid)