Removed style nonce, as it blocks the loading of all other inline styles and kills the styling of the sidebar treeviews

This commit is contained in:
Jan Böhmer 2025-09-07 23:58:21 +02:00
parent 03f7ad66d2
commit cdc58507db

View file

@ -55,7 +55,7 @@
{{ encore_entry_link_tags('app') }} {{ encore_entry_link_tags('app') }}
{% set table_settings = settings_instance('table') %} {% set table_settings = settings_instance('table') %}
<style nonce="{{ csp_nonce('style') }}"> <style>
:root { :root {
--table-image-preview-min-size: {{ table_settings.previewImageMinWidth }}px; --table-image-preview-min-size: {{ table_settings.previewImageMinWidth }}px;
--table-image-preview-max-size: {{ table_settings.previewImageMaxWidth }}px; --table-image-preview-max-size: {{ table_settings.previewImageMaxWidth }}px;