From: Ben Harris Date: Sat, 4 Oct 2025 16:27:21 +0000 (+0100) Subject: webstead: put border on tickboxes, not table cells X-Git-Tag: bedstead-3.261~54 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=96ee19d038deeff931990c854423cb041eed8a3f;p=bedstead.git webstead: put border on tickboxes, not table cells That means the borders are clickable, which is what I want. --- diff --git a/webstead.xhtml b/webstead.xhtml index 98da8d5..686ce6d 100644 --- a/webstead.xhtml +++ b/webstead.xhtml @@ -25,13 +25,13 @@ #pixels td { padding: 0; line-height: 0; - border: 1px solid; } #pixels input { appearance: none; margin: 0; - width: calc(var(--pix) - 2px); - height: calc(var(--pix) - 2px); + width: var(--pix); + height: var(--pix); + border: 1px solid; } #pixels input:checked { background: currentColor;