WebUI: Improve statistics window

This commit is contained in:
skomerko 2024-09-22 16:46:22 +02:00
parent 4cc3fedf37
commit 5e3161a3f9
2 changed files with 23 additions and 4 deletions

View file

@ -758,9 +758,28 @@ td.statusBarSeparator {
}
/* Statistics window */
.statisticsValue {
#statisticspage * {
box-sizing: border-box;
}
#statisticsContent {
& table {
background-color: var(--color-background-default);
border-radius: 6px;
margin-bottom: 6px;
padding: 6px 10px;
& .statisticsValue {
text-align: right;
}
}
& h3 {
color: var(--color-text-default);
margin-bottom: 1px;
padding: 2px;
}
}
/* Search tab */

View file

@ -427,8 +427,8 @@ const initializeWindows = function() {
contentURL: new URI("views/statistics.html").toString(),
maximizable: false,
padding: 10,
width: loadWindowWidth(id, 275),
height: loadWindowHeight(id, 370),
width: loadWindowWidth(id, 285),
height: loadWindowHeight(id, 415),
onResize: window.qBittorrent.Misc.createDebounceHandler(500, (e) => {
saveWindowSize(id);
})