From 21e18a9d961daa107c8882d2b3662a99ba1e6ecf Mon Sep 17 00:00:00 2001
From: Nick Thomas
Date: Sat, 20 Apr 2024 23:42:18 -0700
Subject: [PATCH] wip
---
example/index.ts | 2 ++
example/style.css | 6 ++++++
2 files changed, 8 insertions(+)
diff --git a/example/index.ts b/example/index.ts
index b0f8ce4..fc7c8cd 100644
--- a/example/index.ts
+++ b/example/index.ts
@@ -126,6 +126,8 @@ const Example:FunctionComponent = function Example () {
${state.code.value}
` :
+ state.linkState.value === 'child' ?
+ html`<${CodeForm} onSubmit=${joinParent} />` :
null
}` :
diff --git a/example/style.css b/example/style.css
index 0bd2c11..f5ecefa 100644
--- a/example/style.css
+++ b/example/style.css
@@ -36,6 +36,12 @@ pre {
line-height: 1.4rem;
}
+input[type=number]::-webkit-inner-spin-button,
+input[type=number]::-webkit-outer-spin-button {
+ -webkit-appearance: none;
+ margin: 0;
+}
+
.the-pin {
margin-bottom: 2rem;