From af163d5a9eea902a1e710ee3315a499d08287c3f Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Wed, 18 Sep 2019 13:07:43 +0000 Subject: [PATCH] [FIX] website: boxed title style for splitting When a title with boxed style (border arround title) is split (by doing normal ENTER (and not shift ENTER which work as expected)) the title being in inline-block for styling purpose, this give odd results (of several title boxes on the same line). With this commit style is changed so split title are on different lines. opw-2070611 closes #37084 Signed-off-by: Nicolas Lempereur (nle) --- addons/website/static/src/scss/website.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/addons/website/static/src/scss/website.scss b/addons/website/static/src/scss/website.scss index 337402f32e9..d942cc3e085 100644 --- a/addons/website/static/src/scss/website.scss +++ b/addons/website/static/src/scss/website.scss @@ -341,9 +341,11 @@ table.table_desc tr td { // Title .s_title { .s_title_boxed { - display: inline-block; - padding: $grid-gutter-width; - border: 1px solid; + > * { + display: inline-block; + padding: $grid-gutter-width; + border: 1px solid; + } } .s_title_lines { overflow: hidden;