diff --git a/src/bundle/Resources/public/scss/ui/modules/universal-discovery/_finder-leaf.scss b/src/bundle/Resources/public/scss/ui/modules/universal-discovery/_finder-leaf.scss index 9c51752f95..bc16983b6a 100644 --- a/src/bundle/Resources/public/scss/ui/modules/universal-discovery/_finder-leaf.scss +++ b/src/bundle/Resources/public/scss/ui/modules/universal-discovery/_finder-leaf.scss @@ -71,9 +71,9 @@ } &__name { - white-space: nowrap; + display: flex; + align-items: center; overflow: hidden; - text-overflow: ellipsis; font-size: $ibexa-text-font-size-medium; line-height: calculateRem(21px); color: $ibexa-color-dark; @@ -84,6 +84,12 @@ } } + &__name-content { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + &__icon-wrapper { position: relative; margin-right: calculateRem(24px); diff --git a/src/bundle/ui-dev/src/modules/universal-discovery/components/finder/finder.leaf.js b/src/bundle/ui-dev/src/modules/universal-discovery/components/finder/finder.leaf.js index da873b0c54..c442185ee4 100644 --- a/src/bundle/ui-dev/src/modules/universal-discovery/components/finder/finder.leaf.js +++ b/src/bundle/ui-dev/src/modules/universal-discovery/components/finder/finder.leaf.js @@ -75,16 +75,18 @@ const FinderLeaf = ({ location }) => { return (