Skip to content

Commit

Permalink
fix: migrate to new layout
Browse files Browse the repository at this point in the history
  • Loading branch information
nobkd committed Aug 17, 2024
1 parent 30d8e75 commit 1befb24
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/app.nue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
</script>


<main @name="app">
<div @name="app" class="app">
<filelist style="width: 10%;" />
<div id="splitter1" />
<editor style="flex: 1 1 0%;" />
Expand All @@ -16,7 +16,7 @@
this.mountChild('splitter', splitter2)
}
</script>
</main>
</div>


<div @name="splitter" class="splitter">
Expand Down
1 change: 0 additions & 1 deletion src/index.html

This file was deleted.

2 changes: 2 additions & 0 deletions src/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

[app]
16 changes: 13 additions & 3 deletions src/style/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@

html,
body,
main {
main,
article,
article > section,
.app {
margin: 0;
padding: 0;
min-height: 100vh;
Expand All @@ -18,17 +21,24 @@ body {
position: relative;
}

main {
main,
article,
article > section,
.app {
display: flex;
}

section {
section > section {
display: flex;
flex-direction: column;
gap: 0.25rem;
margin: 0.125rem;
}

input {
width: 100%;
}

iframe,
textarea,
pre {
Expand Down

0 comments on commit 1befb24

Please sign in to comment.