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 09a233691f..b618f4dc54 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 @@ -68,9 +68,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; @@ -81,6 +81,12 @@ } } + &__name-content { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + &__icon-wrapper { position: relative; margin-right: calculateRem(20px); 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 66e1a67c79..018875e68d 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 (