mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-03-12 04:35:47 -07:00
WebUI: Improve statistics window
This commit is contained in:
parent
4cc3fedf37
commit
5e3161a3f9
src/webui/www/private
@ -758,8 +758,27 @@ td.statusBarSeparator {
|
||||
}
|
||||
|
||||
/* Statistics window */
|
||||
.statisticsValue {
|
||||
text-align: right;
|
||||
#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…
x
Reference in New Issue
Block a user