From bb432c2893d7df0bf53d60067ca0bf8b453adcf2 Mon Sep 17 00:00:00 2001 From: Ipsita Borisagar Date: Tue, 20 Jun 2023 08:40:13 +0000 Subject: [PATCH] [FIX] website_slides: prevent content overflow outside the window MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When the user adds the "Title" or "Certificate" in a large number of characters, the content goes beyond the window. Technical: By using this class it applies width 100%, which resolves the issue. Now, the content stays within the sheet. Task-3368902 closes odoo/odoo#129014 X-original-commit: 44720aa6e7080ce849af329d8c92681489e093fb Signed-off-by: Warnon Aurélien (awa) --- .../website_slides/static/src/slide_category_one2many_field.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website_slides/static/src/slide_category_one2many_field.js b/addons/website_slides/static/src/slide_category_one2many_field.js index 3fe751b018c..09c990805fd 100644 --- a/addons/website_slides/static/src/slide_category_one2many_field.js +++ b/addons/website_slides/static/src/slide_category_one2many_field.js @@ -22,4 +22,5 @@ SlideCategoryOneToManyField.defaultProps = { registry.category("fields").add("slide_category_one2many", { ...x2ManyField, component: SlideCategoryOneToManyField, + additionalClasses: [...x2ManyField.additionalClasses || [], "o_field_one2many"], });