From 15be1b1724f05c3fc4a85598b45464a2fe8ecbf4 Mon Sep 17 00:00:00 2001 From: Louis Kirkham Date: Fri, 15 Nov 2024 10:21:23 +0000 Subject: [PATCH] Fix: fix accessibility issues on checkboxes Signed-off-by: Louis Kirkham --- app/assets/stylesheets/admin/forms.scss | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/admin/forms.scss b/app/assets/stylesheets/admin/forms.scss index 37bb747f6..7df88ffa3 100644 --- a/app/assets/stylesheets/admin/forms.scss +++ b/app/assets/stylesheets/admin/forms.scss @@ -65,9 +65,13 @@ input.form-control, select.form-control, } .section-contact-preferences .selectable { - cursor: auto; - - input[type="checkbox"] { - margin-top: 10px; + label, input { + cursor: pointer; + } + input { + position: inherit; + } + label { + display: inline; } }