chiark
/
gitweb
/
~bjharris
/
bedstead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ba57f2
)
webstead: put border on tickboxes, not table cells
author
Ben Harris
<bjh21@bjh21.me.uk>
Sat, 4 Oct 2025 16:27:21 +0000
(17:27 +0100)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Tue, 13 Jan 2026 21:42:18 +0000
(21:42 +0000)
That means the borders are clickable, which is what I want.
webstead.xhtml
patch
|
blob
|
history
diff --git
a/webstead.xhtml
b/webstead.xhtml
index 98da8d55d6cec1f1a7af56483b389a6f860c1e2f..686ce6dc2e89bad72af460e7a5ba33b32c082150 100644
(file)
--- 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;