Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ jobs:

- name: Check lint and formatting
run: pnpm run check

- name: Run tests
run: pnpm test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"format": "rs fmt",
"lint": "rs lint",
"prepare": "rs hooks",
"preview": "rs preview"
"preview": "rs preview",
"test": "node --experimental-strip-types --test tests/*.test.mjs"
},
"dependencies": {
"@monaco-editor/react": "4.7.0",
Expand Down
6 changes: 3 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ const App = () => {
);

return (
<ThemeProvider defaultTheme="system">
<div className="relative h-screen flex flex-col">
<ThemeProvider defaultTheme="dark">
<div className="relative flex h-dvh min-h-0 flex-col">
<Header />
<main className="flex-1 overflow-hidden">
<main className="min-h-0 flex-1 overflow-hidden px-2 pb-2 sm:px-4 sm:pb-4">
<Editor />
</main>
</div>
Expand Down
Loading