diff options
| author | Jérémy Hennecart <jeh@odoo.com> | 2020-09-25 09:35:10 +0000 |
|---|---|---|
| committer | Jérémy Hennecart <jeh@odoo.com> | 2020-10-09 07:59:39 +0000 |
| commit | 238654ae53582d791154388c827f725c8d136612 (patch) | |
| tree | 94327435571a4e42c98c83a11980b2565df86bd0 /addons/web/static/src/xml/notification.xml | |
| parent | 115c4aa60b1859f78b37cb481784e32cc8a8ab86 (diff) | |
[FIX] web: fix notification design
Fix the design of he notification which is sometimes broken
(if there are lists or buttons display in it for example)
task-2346462
closes odoo/odoo#58515
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/xml/notification.xml')
| -rw-r--r-- | addons/web/static/src/xml/notification.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/xml/notification.xml b/addons/web/static/src/xml/notification.xml index a6cb930b55b..e23538d1e28 100644 --- a/addons/web/static/src/xml/notification.xml +++ b/addons/web/static/src/xml/notification.xml @@ -19,7 +19,8 @@ t-raw="widget.title"/> <t t-raw="closeButton"/> </div> - <div t-if="widget.message or widget.subtitle or widget.buttons.length" class="toast-body d-flex"> + <div t-if="widget.message or widget.subtitle or widget.buttons.length" class="toast-body"> + <t t-if="!widget.title" t-raw="closeButton"/> <strong t-if="widget.subtitle" t-raw="widget.subtitle" class="o_notification_subtitle"/> <div t-if="widget.message" t-raw="widget.message" @@ -34,7 +35,6 @@ <span t-esc="button.text"/> </button> </div> - <t t-if="!widget.title" t-raw="closeButton"/> </div> </div> </t> |
