From df3d1a167d05ee8b10211e2ef9b24ac0c40170d1 Mon Sep 17 00:00:00 2001 From: Damian Tarnawski Date: Fri, 8 Mar 2024 20:47:26 +0100 Subject: [PATCH] Disable checkboxes by default --- index.css | 1 - smd.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/index.css b/index.css index b292886..d6ff560 100644 --- a/index.css +++ b/index.css @@ -130,7 +130,6 @@ input[type="checkbox"] { border-radius: 4px; width: 0.8rem; height: 0.8rem; - cursor: pointer; } input[type="checkbox"]::after, input[type="checkbox"]::before { diff --git a/smd.js b/smd.js index 403e473..d3e0689 100644 --- a/smd.js +++ b/smd.js @@ -1074,6 +1074,7 @@ export function default_add_token(data, type) { case CHECKBOX: const checkbox = document.createElement("input") checkbox.type = "checkbox" + checkbox.disabled = true mount = slot = checkbox break case CODE_BLOCK: