prevent logs and disks from taking over the page
This commit is contained in:
parent
6d6b3179af
commit
9a38fd539f
2 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,7 @@ pub fn system_info() -> SystemInfo {
|
|||
let disks = sys
|
||||
.disks()
|
||||
.iter()
|
||||
.filter(|disk| !disk.is_removable() && !disk.name().eq_ignore_ascii_case("overlay"))
|
||||
.map(|disk| DiskInfo {
|
||||
device_name: disk.name().to_str().unwrap_or_default().to_string(),
|
||||
mount_point: disk.mount_point().to_str().unwrap_or_default().to_string(),
|
||||
|
|
|
@ -126,6 +126,7 @@
|
|||
padding: 4px 8px;
|
||||
margin: 0;
|
||||
background-color: #1a1c38;
|
||||
word-break: break-all;
|
||||
|
||||
&:nth-child(odd) {
|
||||
background-color: #212345;
|
||||
|
|
Reference in a new issue