From 17070032923c0ece259752500a25159d3fa7dca3 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 : 7.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 9cfa55d95f..eff5309c42 100644 --- a/sao/src/sao.less +++ b/sao/src/sao.less @@ -537,9 +537,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 {