feat: move file explorer to editor right

This commit is contained in:
Yujong Lee 2026-09-10 14:39:47 -07:00
parent c968c5abb1
commit 6da7ef2fe4
2 changed files with 4 additions and 4 deletions

View file

@ -58,12 +58,12 @@
<span id="revision" class="revision"></span>
</div>
<div class="editor-body">
<div id="editors"></div>
<aside class="file-tree" aria-label="Project files">
<p class="tree-title">EXPLORER</p>
<div class="tree-folder">src</div>
<nav id="file-nav" class="file-nav"></nav>
</aside>
<div id="editors"></div>
</div>
</section>

View file

@ -212,7 +212,7 @@ h1 {
.editor-body {
display: grid;
grid-template-columns: 10.5rem minmax(0, 1fr);
grid-template-columns: minmax(0, 1fr) 10.5rem;
min-width: 0;
min-height: 0;
}
@ -246,7 +246,7 @@ h1 {
.file-tree {
min-width: 0;
overflow: auto;
border-right: 1px solid #292e36;
border-left: 1px solid #292e36;
background: #0f1216;
color: #aeb4bd;
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
@ -365,7 +365,7 @@ h1 {
}
.editor-body {
grid-template-columns: 8.5rem minmax(0, 1fr);
grid-template-columns: minmax(0, 1fr) 8.5rem;
}
.output-panel {