fix: editor focus on click below code

This commit is contained in:
Felix Roos 2023-12-31 11:20:35 +01:00
parent 3760f51c3c
commit 9059b16c7c
4 changed files with 10 additions and 2 deletions

View File

@ -0,0 +1,5 @@
{
"devToolbar": {
"enabled": false
}
}

View File

@ -1,3 +1,4 @@
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />
/// <reference types="vite-plugin-pwa/info" />
/// <reference types="vite-plugin-pwa/client" />

View File

@ -24,9 +24,12 @@
#code .cm-scroller {
padding-top: 10px !important;
padding-bottom: 50vh;
height: 100%;
font-family: inherit;
}
#code .cm-content {
padding-bottom: 50vh;
}
#code .cm-line > * {
background: var(--lineBackground);
}

View File

@ -21,7 +21,6 @@ import {
} from '../settings.mjs';
import { Header } from './Header';
import Loader from './Loader';
import './Repl.css';
import { Panel } from './panel/Panel';
import { useStore } from '@nanostores/react';
import { prebake } from './prebake.mjs';