Made image size of preview images in tables configurable and slightly bigger by default

This makes PR #984 and #623 obsolete
This commit is contained in:
Jan Böhmer 2025-09-07 21:21:08 +02:00
parent 0d1ae030be
commit ecd2abe00e
4 changed files with 38 additions and 4 deletions

View file

@ -53,6 +53,14 @@
{% endif %}
{{ encore_entry_link_tags('app') }}
{% set table_settings = settings_instance('table') %}
<style nonce="{{ csp_nonce('style') }}">
:root {
--table-image-preview-min-size: {{ table_settings.previewImageMinWidth }}px;
--table-image-preview-max-size: {{ table_settings.previewImageMaxWidth }}px;
}
</style>
{% endblock %}
{% block javascripts %}