fix(forms.css): checkbox alignment in labels that are contained within a details node

This commit is contained in:
Cory Dransfeldt 2025-04-23 11:03:59 -07:00
parent 6b582feef4
commit 1812e42976
No known key found for this signature in database
3 changed files with 11 additions and 6 deletions

10
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "3.1.0",
"version": "3.1.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "3.1.0",
"version": "3.1.1",
"license": "MIT",
"dependencies": {
"html-minifier-terser": "7.2.0",
@ -2098,9 +2098,9 @@
}
},
"node_modules/glob": {
"version": "11.0.1",
"resolved": "https://registry.npmjs.org/glob/-/glob-11.0.1.tgz",
"integrity": "sha512-zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw==",
"version": "11.0.2",
"resolved": "https://registry.npmjs.org/glob/-/glob-11.0.2.tgz",
"integrity": "sha512-YT7U7Vye+t5fZ/QMkBFrTJ7ZQxInIUjwyAjVj84CYXqgBdv30MFUPGnBR6sQaVq6Is15wYJUsnzTuWaGRBhBAQ==",
"dev": true,
"license": "ISC",
"dependencies": {

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "3.1.0",
"version": "3.1.1",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {

View file

@ -46,6 +46,11 @@ label svg {
cursor: pointer;
}
detail label:has(input[type="checkbox"]) {
display: inline-flex;
gap: var(--spacing-xs);
}
summary {
font-weight: var(--font-weight-bold);
}