Skip to content

Commit

Permalink
Fix double scrollbar on WebUI Execution Log tab
Browse files Browse the repository at this point in the history
All elements are now sized automatically using flexbox.
  • Loading branch information
Piccirello committed Oct 20, 2024
1 parent a6d5e1c commit 8593fd5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/webui/www/private/views/log.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<style type="text/css">
#logTopBar {
flex-shrink: 0;
margin-top: 1em;
}

Expand All @@ -22,13 +23,16 @@
}

#logView {
display: flex;
flex-direction: column;
height: 100%;
padding: 0 20px;
overflow: auto;
}

#logContentView {
display: block;
vertical-align: top;
flex-grow: 1;
overflow: auto;
}

#logMessageTableFixedHeaderDiv .dynamicTableHeader,
Expand Down Expand Up @@ -227,7 +231,6 @@
tableInfo["peer"].instance.setup("logPeerTableDiv", "logPeerTableFixedHeaderDiv", logTableContextMenu);

MUI.Panels.instances.LogPanel.contentEl.style.height = "100%";
$("logView").style.height = "inherit";

load();
};
Expand Down

0 comments on commit 8593fd5

Please sign in to comment.