From 4d2107f596708f64f3057e9ba3812c7d3cf775c1 Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Thu, 6 Apr 2023 15:35:20 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B06153=20-=20Prevent=20Link=20set=20set=20?= =?UTF-8?q?items=20from=20wrapping=20and=20force=20them=20to=20truncate=20?= =?UTF-8?q?with=20ellipsis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/backoffice/components/_field.scss | 1 + css/backoffice/components/input/_input-set.scss | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/css/backoffice/components/_field.scss b/css/backoffice/components/_field.scss index 5b4890be5..d4c8e2330 100644 --- a/css/backoffice/components/_field.scss +++ b/css/backoffice/components/_field.scss @@ -50,6 +50,7 @@ $ibo-field--enable-bulk--checkbox--margin-left: $ibo-spacing-300 !default; [data-attribute-type="AttributeCustomFields"], [data-attribute-type="AttributeTagSet"], [data-attribute-type="AttributeEnumSet"], + [data-attribute-type="AttributeLinkedSet"], [data-attribute-type="AttributeClassAttCodeSet"], [data-attribute-type="AttributeQueryAttCodeSet"], .ibo-input-file-select--container diff --git a/css/backoffice/components/input/_input-set.scss b/css/backoffice/components/input/_input-set.scss index 4a21d6347..e57b48601 100644 --- a/css/backoffice/components/input/_input-set.scss +++ b/css/backoffice/components/input/_input-set.scss @@ -62,7 +62,11 @@ $ibo-input-set--item--box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 0 1px 1px rgb color: $ibo-color-grey-900; text-shadow: none; @extend %ibo-text-truncated-with-ellipsis; - + /* - Guaranty that if a set item has html sub-node, they correctly display ellipsis (eg. Link set set items) */ + > * { + @extend %ibo-text-truncated-with-ellipsis; + } + &:not(:first-child) { margin-left: $ibo-input-set--item--siblings-spacing; }