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 { 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; font-size: 18pt;
line-height: 1.5em; line-height: 1.5em;
color: var(--foreground-color); color: var(--foreground-color);
background: var(--background-color); background: var(--background-color);
margin: 1em; margin: 1em;
display: flex;
max-height: 100vh;
overflow: hidden;
} }
h1, h1,
@ -67,6 +71,7 @@ textarea {
} }
#explorer { #explorer {
flex: 1;
display: flex; display: flex;
overflow: hidden; overflow: hidden;
} }
@ -136,7 +141,7 @@ textarea {
transition: transform ease-out 0.1s; transition: transform ease-out 0.1s;
} }
#explorer .tree details[open]>summary:before { #explorer .tree details[open] > summary:before {
transform: rotate(90deg); transform: rotate(90deg);
} }