From 8056a63e82650a68fdc48def8df0b671c81e781a Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Tue, 28 Oct 2025 09:34:44 +0100 Subject: [PATCH] =?UTF-8?q?=20N=C2=B08748=20-=20Implement=20horizontal=20s?= =?UTF-8?q?croll=20for=20LongText=20attributes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/backoffice/components/_field.scss | 5 +++-- css/backoffice/components/datatable/_datatable.scss | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/css/backoffice/components/_field.scss b/css/backoffice/components/_field.scss index e1fa43b58..6bc1d458f 100644 --- a/css/backoffice/components/_field.scss +++ b/css/backoffice/components/_field.scss @@ -81,9 +81,10 @@ $ibo-field--enable-bulk--checkbox--margin-left: $ibo-spacing-300 !default; } } - /*N°6543 - We need the rule to keep text inside the column when width is defined */ + /* N°6543 - We need the rule to keep text inside the column when width is defined */ &[data-attribute-type="AttributeHTML"], - &[data-attribute-type="AttributeText"] { + &[data-attribute-type="AttributeText"], + &[data-attribute-type="AttributeLongText"] { &[data-attribute-flag-read-only="true"] { display: grid; diff --git a/css/backoffice/components/datatable/_datatable.scss b/css/backoffice/components/datatable/_datatable.scss index c7fe7f27f..4d77bff61 100644 --- a/css/backoffice/components/datatable/_datatable.scss +++ b/css/backoffice/components/datatable/_datatable.scss @@ -125,7 +125,8 @@ $ibo-fieldsorter--selected--background-color: $ibo-color-blue-200 !default; } /* N°6543 - We need the rule to keep text inside the column when width is defined */ > [data-attribute-type="AttributeHTML"], - > [data-attribute-type="AttributeText"] { + > [data-attribute-type="AttributeText"], + > [data-attribute-type="AttributeLongText"] { max-width: 100%; overflow: auto; }