diff --git a/addons/web/static/src/scss/notification.scss b/addons/web/static/src/scss/notification.scss index 4641b7866ce..5dcf08f6c8b 100644 --- a/addons/web/static/src/scss/notification.scss +++ b/addons/web/static/src/scss/notification.scss @@ -15,7 +15,7 @@ .o_notification_close { height: 20px; - margin-left: 5px; + margin-left: 1rem; } } } diff --git a/addons/web/static/src/xml/notification.xml b/addons/web/static/src/xml/notification.xml index 42aab39f889..a6cb930b55b 100644 --- a/addons/web/static/src/xml/notification.xml +++ b/addons/web/static/src/xml/notification.xml @@ -24,10 +24,9 @@ class="o_notification_subtitle"/>
-
+
diff --git a/addons/web/static/tests/services/notification_service_tests.js b/addons/web/static/tests/services/notification_service_tests.js index f796ba431df..83ff3a5a5cd 100644 --- a/addons/web/static/tests/services/notification_service_tests.js +++ b/addons/web/static/tests/services/notification_service_tests.js @@ -206,7 +206,7 @@ QUnit.module('Services', { assert.containsOnce($notification.eq(0), '.o_notification_close', "should display the close button in notification"); assert.strictEqual($notification.html().trim().replace(/\s+/g, ' '), - "
a0
b0
", + "
a0
b0
", "should display notification"); testUtils.dom.click($notification.find('.o_notification_buttons button:contains(accept0)'));