Skip to content

Commit e8ee41e

Browse files
committed
minor #1445 [Site] Fix Cloudflare wrongly minify CSS 4 (smnandre)
This PR was merged into the 2.x branch. Discussion ---------- [Site] Fix Cloudflare wrongly minify CSS 4 Cloudflare seems to bug because of the `@layer` instructions and generate a "little too much compressed" CSS code 😆 ```css .LiveMemory-Main { border:1pxsolidvar(--color-border); width:100%; aspect-ratio:1.6auto; } ``` By suffixing the file ".min.css" it should not over-compress it. https://developers.cloudflare.com/speed/optimization/content/troubleshooting/auto-minify-not-working/ Commits ------- a011e88 [Site] Fix Cloudflare wrongly minify CSS 4
2 parents b96bda0 + a011e88 commit e8ee41e

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

ux.symfony.com/templates/demos/live_memory/index.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
} %}
99

1010
{% block stylesheets %}
11-
<link rel="stylesheet" href="{{ asset('styles/demos/live-memory.css') }}"/>
11+
<link rel="stylesheet" href="{{ asset('styles/demos/live-memory.min.css') }}"/>
1212
{% endblock %}
1313

1414
{% block importmap %}

0 commit comments

Comments
 (0)