mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 09:24:59 -06:00
WebUI: Improve table overflow handling
This PR relies on flexbox to ensure all WebUI tables are the correct height without overflowing. Table headers are now always visible and JS-based dynamic resizing is no longer needed. PR #21652.
This commit is contained in:
committed by
GitHub
parent
b083029841
commit
dc30b9c2ec
@@ -1,5 +1,6 @@
|
||||
<style type="text/css">
|
||||
#logTopBar {
|
||||
flex-shrink: 0;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
@@ -227,7 +231,6 @@
|
||||
tableInfo["peer"].instance.setup("logPeerTableDiv", "logPeerTableFixedHeaderDiv", logTableContextMenu);
|
||||
|
||||
MUI.Panels.instances.LogPanel.contentEl.style.height = "100%";
|
||||
$("logView").style.height = "inherit";
|
||||
|
||||
load();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user