mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-10 13:09:30 +00:00
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:
parent
0d1ae030be
commit
ecd2abe00e
4 changed files with 38 additions and 4 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue