From: Christian Oliff Date: Fri, 15 May 2026 03:23:43 +0000 (+0900) Subject: add form-check css class to checkbox (#42406) X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=d50c38fa2cf65d05b3dd65853adf2aa056d93031;p=thirdparty%2Fbootstrap.git add form-check css class to checkbox (#42406) Update the Heroes example Remember me checkbox to use Bootstrap 5 form-check markup. Change container class to `form-check mb-3`, add `form-check-input` on the input with an `id` and `form-check-label` referencing that id. This improves Bootstrap compatibility and accessibility. --- diff --git a/site/src/assets/examples/heroes/index.astro b/site/src/assets/examples/heroes/index.astro index 853776e7bc..d4eb748048 100644 --- a/site/src/assets/examples/heroes/index.astro +++ b/site/src/assets/examples/heroes/index.astro @@ -74,9 +74,10 @@ export const extra_css = ['heroes.css'] -
-