diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2019-09-18 13:07:43 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2019-09-18 13:17:18 +0000 |
| commit | af163d5a9eea902a1e710ee3315a499d08287c3f (patch) | |
| tree | 338361b74e47848ae9b03d69a5faf0fd74f60224 /addons | |
| parent | 1ad8c88eb3388d1fd45acdcedb1019d61043033b (diff) | |
[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) <nle@odoo.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website/static/src/scss/website.scss | 8 |
1 files 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; |
