From 7c8b4d5e8030401ccaf64c71828ee280edb8919b Mon Sep 17 00:00:00 2001 From: Laetitia Fesselier Date: Tue, 24 Sep 2024 10:43:24 -0400 Subject: [PATCH] [User Account] Checkbox alignments --- php/libraries/LorisForm.class.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/php/libraries/LorisForm.class.inc b/php/libraries/LorisForm.class.inc index 8a3211d37e8..d586738c036 100644 --- a/php/libraries/LorisForm.class.inc +++ b/php/libraries/LorisForm.class.inc @@ -1607,13 +1607,13 @@ class LorisForm } /// XXX: There seems to be a problem when using   to separate the // checkbox from the label. Both Firefox and Chrome will still put a - // linebreak between the space and the checkbox. Instead, we wrap use + // linebreak between the space and the checkbox. Instead, we use // CSS to wrap the tag which avoids the label from being separated from the // checkbox. We don't wrap the whole label in it because if it's a long // label it's still allowed to have linebreaks. - return "" + return "" + . "" . " $el[label]"; }