diff --git a/sao/src/theme/coog/sao.less b/sao/src/theme/coog/sao.less index 53b08c11ea4..8b9d2663f9c 100644 --- a/sao/src/theme/coog/sao.less +++ b/sao/src/theme/coog/sao.less @@ -670,6 +670,28 @@ div.form-boolean > input[type=checkbox].input-checkbox.form-control[readonly] { } } } + +// Use all space for XXX2Many which are the sole item in a notebook page +.tab-pane.active > div.form-container:has(> div.form-one2many:only-child) { + > div.form-item.form-one2many { + padding-top: 0px; + > div.form-one2many.panel { + margin-left: 0px; + margin-right: 0px; + } + } +} +.tab-pane.active > div.form-container:has(> div.form-many2many:only-child) { + > div.form-item.form-many2many { + padding-top: 0px; + > div.form-many2many.panel { + margin-left: 0px; + margin-right: 0px; + } + } +} + + /////////////////////////////////////////////////////////////////////////////// // Rule engine ///////////////////////////////////////////////////////////////////////////////