Reduce space wastage

This commit is contained in:
2024-04-10 18:35:51 +02:00
parent 8900c44e51
commit f69389c461
10 changed files with 27 additions and 63 deletions

View File

@@ -41,14 +41,10 @@ export let fs_navigator
word-break: break-all;
display: inline-flex;
flex-direction: row;
line-height: 1em;
}
.node_name {
/* This padding makes sure that characters which extend below the
line-height do not get cut off */
padding: 4px 2px;
max-width: 20vw;
overflow: hidden;
max-width: 25vw;
overflow-x: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

View File

@@ -223,7 +223,7 @@ const update_css = path => document.documentElement.style = branding_from_path(p
flex-direction: row;
text-align: left;
box-shadow: none;
padding: 4px;
padding: 2px;
}
/* File preview area (row 2) */

View File

@@ -136,7 +136,7 @@ let expand = e => {
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(8em, 1fr));
grid-template-columns: repeat(auto-fit, minmax(7.5em, 1fr));
}
.separator {
height: 2px;