Fixed popup and header table

This commit is contained in:
2023-05-19 11:58:59 +02:00
parent 899556c49c
commit bddd7e9b0d
3 changed files with 17 additions and 3 deletions

View File

@@ -18,7 +18,6 @@
min-width: 33%; min-width: 33%;
max-width: 60%; max-width: 60%;
max-height: 70%; max-height: 70%;
overflow: scroll;
background-color: white; background-color: white;
box-shadow: 10px 10px 5px lightblue; box-shadow: 10px 10px 5px lightblue;
min-height: 45%; min-height: 45%;
@@ -27,6 +26,9 @@
padding: 10px 15px 15px 15px; padding: 10px 15px 15px 15px;
color: black; color: black;
border: 1px #2A93B0 solid; border: 1px #2A93B0 solid;
display: flex;
flex-direction: column;
position: fixed;
} }
.popup-button-close-container{ .popup-button-close-container{
@@ -35,6 +37,14 @@
margin-top: 1%; margin-top: 1%;
font-size: xx-large; font-size: xx-large;
font-weight: bold; font-weight: bold;
position: sticky;
top:0
}
.hiddable-popup-option{
flex-grow: 1;
overflow: auto;
padding: 1.5%;
} }
.popup-button-close{ .popup-button-close{

View File

@@ -86,6 +86,10 @@
height: 100%; height: 100%;
} }
.history-header-name{
min-width: 10vw;
}
#historyTable, td{ #historyTable, td{
padding: 1%; padding: 1%;
overflow-x: scroll; overflow-x: scroll;

View File

@@ -67,8 +67,8 @@ function showHeadersHistory(element){
(value,key) => { (value,key) => {
historyTable += historyTable +=
'<tr>' + '<tr>' +
'<td>'+ key + '</td>' + '<td class="history-header-name">'+ key + '</td>' +
'<td>'+ value + '</td>' + '<td class="history-header-value">'+ value + '</td>' +
'</tr>' '</tr>'
} }
); );