From 123baf29c35311aa9c0a937b1910d45af56deef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cchrisshank=E2=80=9D?= Date: Sun, 1 Dec 2024 18:38:50 -0800 Subject: [PATCH] qrcode demo --- demo/qr-code.html | 41 ++++++++++++++++++++++++++++++++++------- demo/shapes.html | 2 +- demo/vite.config.ts | 2 +- src/distance-field.ts | 1 - 4 files changed, 36 insertions(+), 10 deletions(-) diff --git a/demo/qr-code.html b/demo/qr-code.html index 58465b4..d21a574 100644 --- a/demo/qr-code.html +++ b/demo/qr-code.html @@ -18,7 +18,6 @@ textarea { resize: none; field-sizing: content; - min-width: 10ch; } event-propagator { @@ -27,19 +26,34 @@ inset: 0 0 0 0; pointer-events: none; } + + body:not([rope-mode]) event-propagator { + display: none; + } + + body > label { + display: block; + padding: 0.5rem; + } - - + + + + - + - - + + + + + + + + diff --git a/demo/shapes.html b/demo/shapes.html index 54eb405..a654770 100644 --- a/demo/shapes.html +++ b/demo/shapes.html @@ -23,7 +23,7 @@ - +