details: https://code.tryton.org/tryton/commit/0dba926fce7b
branch: 8.0
user: Cédric Krier <[email protected]>
date: Wed Jul 08 14:59:54 2026 +0200
description:
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)
diffstat:
sao/src/sao.less | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 5c90c36ecad1 -r 0dba926fce7b sao/src/sao.less
--- a/sao/src/sao.less Tue Jun 16 20:40:21 2026 +0200
+++ b/sao/src/sao.less Wed Jul 08 14:59:54 2026 +0200
@@ -1050,9 +1050,11 @@
width: 100%;
input[type='checkbox'] {
- margin-top: 0;
+ display: block;
+ float: unset;
margin-left: auto;
margin-right: auto;
+ margin-top: 0;
}
> .input-group {