From d7bf7300a1e5103fd924101e3223e927672adcbf Mon Sep 17 00:00:00 2001 From: Humberto Morera <31667212+hmoreras@users.noreply.github.com> Date: Fri, 30 Aug 2024 16:46:28 -0500 Subject: [PATCH] fix ( category field): #29568 and #29801 Implement ellipsis for long category names / Fix empty state. (#29805) ### Proposed Changes * Implement ellipsis for long category names to prevent horizontal scrolling * Fix empty state in categories. ### Screenshots Before: After: --- .../dot-category-field-category-list.component.html | 6 +++--- .../dot-category-field-category-list.component.scss | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html index 711c4245e58d..00bfcd9df875 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-category-field/components/dot-category-field-category-list/dot-category-field-category-list.component.html @@ -27,10 +27,10 @@ class="flex w-full h-full align-items-stretch align-content-center category-list__item-wrapper" (click)="rowClicked.emit({ index, item })" [class.cursor-pointer]="item.hasChildren"> -