details: https://code.tryton.org/tryton/commit/7d6d7651c3e9
branch: 7.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 e66d50307938 -r 7d6d7651c3e9 sao/src/sao.less
--- a/sao/src/sao.less Wed Jun 03 15:06:05 2026 +0200
+++ b/sao/src/sao.less Wed Jul 08 14:59:54 2026 +0200
@@ -537,9 +537,11 @@
width: 100%;
input[type='checkbox'] {
- margin-top: 0;
+ display: block;
+ float: unset;
margin-left: auto;
margin-right: auto;
+ margin-top: 0;
}
> .input-group {