define font + fix app height

This commit is contained in:
Felix Roos 2023-02-19 20:04:30 +01:00
parent ac3bd7d7db
commit 14af1df6a3
2 changed files with 9 additions and 1 deletions

View File

@ -8,7 +8,7 @@ import { Repl } from '../repl/Repl.jsx';
<HeadCommon />
<title>Strudel REPL</title>
</head>
<body class="bg-background">
<body class="h-app-height bg-background">
<Repl client:only="react" />
</body>
</html>

View File

@ -1,3 +1,8 @@
@font-face {
font-family: 'PressStart';
src: url('/fonts/PressStart2P/PressStart2P-Regular.ttf');
}
.cm-gutters {
display: none !important;
}
@ -5,3 +10,6 @@
.prose > h1:not(:first-child) {
margin-top: 30px;
}
:root {
--app-height: 100vh;
}