Fix file stats padding

This commit is contained in:
2024-04-11 22:18:55 +02:00
parent a0ccbb55be
commit 09528929b2
2 changed files with 5 additions and 5 deletions

View File

@@ -131,11 +131,10 @@ onDestroy(close_socket)
padding-left: 0.5em;
text-align: left;
font-size: 0.8em;
line-height: 0.8em;
margin-top: 0.25em;
line-height: 1em;
}
.stat {
line-height: 1.4em;
line-height: 1.2em;
}
@media (max-width: 800px) {
.label {

View File

@@ -188,6 +188,7 @@ let expand = e => {
}
.button_expand {
display: none;
line-height: 1em;
}
/* This max-width needs to be synced with the .viewer_area max-width in
@@ -195,11 +196,11 @@ Toolbar.svelte and the .label max-width in FileStats.svelte */
@media (max-width: 800px) {
.toolbar {
overflow-y: hidden;
max-height: 2.2em;
max-height: 2.1em;
}
.toolbar.expanded {
overflow-y: scroll;
max-height: 40vh;
max-height: 25vh;
}
.stats_container {
flex-direction: row;