details: https://code.tryton.org/tryton/commit/f085fb128d47
branch: 7.8
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 fc1731506e67 -r f085fb128d47 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
@@ -1007,9 +1007,11 @@
width: 100%;
input[type='checkbox'] {
- margin-top: 0;
+ display: block;
+ float: unset;
margin-left: auto;
margin-right: auto;
+ margin-top: 0;
}
> .input-group {