diff --git a/packages/core/draw.mjs b/packages/core/draw.mjs index 1b5c87e7..f42e3220 100644 --- a/packages/core/draw.mjs +++ b/packages/core/draw.mjs @@ -1,6 +1,6 @@ /* draw.mjs - -Copyright (C) 2022 Strudel contributors - see +Copyright (C) 2022 Strudel contributors - see This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see . */ @@ -13,7 +13,7 @@ export const getDrawContext = (id = 'test-canvas') => { canvas.id = id; canvas.width = window.innerWidth; canvas.height = window.innerHeight; - canvas.style = 'pointer-events:none;width:100%;height:100%;position:fixed;top:0;left:0;z-index:5'; + canvas.style = 'pointer-events:none;width:100%;height:100%;position:fixed;top:0;left:0'; document.body.prepend(canvas); } return canvas.getContext('2d'); diff --git a/packages/react/src/components/style.css b/packages/react/src/components/style.css index 150c9837..6d5d0805 100644 --- a/packages/react/src/components/style.css +++ b/packages/react/src/components/style.css @@ -1,6 +1,6 @@ :root { --background: #222; - --lineBackground: #22222250; + --lineBackground: #22222299; --foreground: #fff; --caret: #ffcc00; --selection: rgba(128, 203, 196, 0.5); diff --git a/website/package.json b/website/package.json index 3e15436f..6b8b7a6c 100644 --- a/website/package.json +++ b/website/package.json @@ -8,7 +8,7 @@ "start": "astro dev", "check": "astro check && tsc", "build": "astro build", - "preview": "astro preview", + "preview": "astro preview --port 3009", "astro": "astro" }, "dependencies": { diff --git a/website/src/components/HeadCommon.astro b/website/src/components/HeadCommon.astro index 9e81b0b8..23b39842 100644 --- a/website/src/components/HeadCommon.astro +++ b/website/src/components/HeadCommon.astro @@ -33,7 +33,7 @@ const base = BASE_URL;