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
|
let disks = sys
|
||||||
.disks()
|
.disks()
|
||||||
.iter()
|
.iter()
|
||||||
|
.filter(|disk| !disk.is_removable() && !disk.name().eq_ignore_ascii_case("overlay"))
|
||||||
.map(|disk| DiskInfo {
|
.map(|disk| DiskInfo {
|
||||||
device_name: disk.name().to_str().unwrap_or_default().to_string(),
|
device_name: disk.name().to_str().unwrap_or_default().to_string(),
|
||||||
mount_point: disk.mount_point().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;
|
padding: 4px 8px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background-color: #1a1c38;
|
background-color: #1a1c38;
|
||||||
|
word-break: break-all;
|
||||||
|
|
||||||
&:nth-child(odd) {
|
&:nth-child(odd) {
|
||||||
background-color: #212345;
|
background-color: #212345;
|
||||||
|
|
Reference in a new issue