mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
WebUI: Improve statistics window
This commit is contained in:
parent
4cc3fedf37
commit
5e3161a3f9
2 changed files with 23 additions and 4 deletions
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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);
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue