Skip to content

Commit

Permalink
IBX-7273: No svg for empty filter dropdown (#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM authored Dec 4, 2023
1 parent 8ed6698 commit ec6a41c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/bundle/Resources/public/scss/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@
text-align: center;
}

&__items-list-filter-empty-img {
max-width: calculateRem(300px);
}

&__items-list-filter-empty-message {
color: $ibexa-color-dark-400;
font-size: $ibexa-text-font-size;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,11 @@
</ul>

<div class="ibexa-dropdown__items-list-filter-empty" hidden>
<svg>
<use xlink:href="{{ ibexa_icon_path('filter-empty') }}"></use>
</svg>
<img
class="ibexa-dropdown__items-list-filter-empty-img"
src="/bundles/ibexaadminui/img/no-results.svg"
alt=""
/>
<div class="ibexa-dropdown__items-list-filter-empty-message"></div>
</div>
</div>
Expand Down

0 comments on commit ec6a41c

Please sign in to comment.