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; padding-left: 0.5em;
text-align: left; text-align: left;
font-size: 0.8em; font-size: 0.8em;
line-height: 0.8em; line-height: 1em;
margin-top: 0.25em;
} }
.stat { .stat {
line-height: 1.4em; line-height: 1.2em;
} }
@media (max-width: 800px) { @media (max-width: 800px) {
.label { .label {

View File

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