Fix overflow in explorer

This commit is contained in:
Evan Hahn 2023-11-09 09:10:20 -06:00
parent c755f0bb6f
commit f7677d3f2f
1 changed files with 76 additions and 71 deletions

View File

@ -26,12 +26,16 @@
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 18pt;
line-height: 1.5em;
color: var(--foreground-color);
background: var(--background-color);
margin: 1em;
display: flex;
max-height: 100vh;
overflow: hidden;
}
h1,
@ -67,6 +71,7 @@ textarea {
}
#explorer {
flex: 1;
display: flex;
overflow: hidden;
}
@ -136,7 +141,7 @@ textarea {
transition: transform ease-out 0.1s;
}
#explorer .tree details[open]>summary:before {
#explorer .tree details[open] > summary:before {
transform: rotate(90deg);
}