Fix file stats padding
This commit is contained in:
@@ -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 {
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user