[UI] No results found view improvements (#17294)

<img width="1720" alt="Zrzut ekranu 2024-10-22 o 12 13 29"
src="https://github.com/user-attachments/assets/cf239ba2-79b1-4e07-b03a-6962aa616f95">
This commit is contained in:
Rafał Jaskulski 2024-10-23 09:12:44 +02:00 committed by GitHub
commit 9fb5922f4f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 11 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 4.9 KiB

View file

@ -1,5 +1,5 @@
{% if _context.hidden is not defined or _context.hidden == false %}
<div class="empty-img">
<img src="{{ asset(_context.image|default('build/admin/images/no_data.svg'), 'admin') }}" height="128" alt="">
<img src="{{ asset(_context.image|default('build/admin/images/no_data.svg'), 'admin') }}" style="width: 250px" alt="{{ 'sylius.ui.no_results'|trans }}">
</div>
{% endif %}