From 5c5cc2609de50b8906b77867476f5beb63a3d13e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 8 Jul 2026 14:59:54 +0200 Subject: [PATCH] Center checkbox in editable tree For the auto margin to center the input, it must be displayed as block without float. Closes #14942 (grafted from 99d59e3b76a7f11c65adea228345fe24571ed510) --HG-- branch : 8.0 --- sao/src/sao.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sao/src/sao.less b/sao/src/sao.less index 7a0a8148e1..d796d0cbfa 100644 --- a/sao/src/sao.less +++ b/sao/src/sao.less @@ -1050,9 +1050,11 @@ img.icon { width: 100%; input[type='checkbox'] { - margin-top: 0; + display: block; + float: unset; margin-left: auto; margin-right: auto; + margin-top: 0; } > .input-group {