Fix CSS globale su route localizzate EN TH #9

Merged
javaxman merged 1 commits from feat/issue-5-i18n-home-menu-footer into main 2026-04-27 11:23:22 +02:00
javaxman commented 2026-04-27 11:23:01 +02:00 (Migrated from github.com)

Summary

  • forza l'iniezione inline del CSS globale nel BaseLayout per rendere robusto il caricamento stili anche sulle route localizzate
  • risolve il caso in cui /en e /th venivano servite senza stylesheet Astro/Tailwind, causando layout rotto (es. bandiera enorme)

Test plan

  • npm run build
  • smoke test locale su /en e /th con verifica presenza marker CSS globale in HTML
  • verifica che la modifica tocchi solo src/layouts/BaseLayout.astro
## Summary - forza l'iniezione inline del CSS globale nel `BaseLayout` per rendere robusto il caricamento stili anche sulle route localizzate - risolve il caso in cui `/en` e `/th` venivano servite senza stylesheet Astro/Tailwind, causando layout rotto (es. bandiera enorme) ## Test plan - [x] `npm run build` - [x] smoke test locale su `/en` e `/th` con verifica presenza marker CSS globale in HTML - [x] verifica che la modifica tocchi solo `src/layouts/BaseLayout.astro`
cloudflare-workers-and-pages[bot] commented 2026-04-27 11:23:06 +02:00 (Migrated from github.com)

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
Deployment successful!
View logs
nexstudio c6d13418 Commit Preview URL

Branch Preview URL
Apr 27 2026, 09:20 AM
## Deploying with &nbsp;<a href="https://workers.dev"><img alt="Cloudflare Workers" src="https://workers.cloudflare.com/logo.svg" width="16"></a> &nbsp;Cloudflare Workers The latest updates on your project. Learn more about [integrating Git with Workers](https://developers.cloudflare.com/workers/ci-cd/builds/git-integration/). | Status | Name | Latest Commit | Preview URL | Updated (UTC) | | -|-|-|-|-| | ✅ Deployment successful! <br>[View logs](https://dash.cloudflare.com/?to=/1a57ad4ffef35fd8a5264bdf777afcb7/workers/services/view/nexstudio/production/builds/6b183603-0975-4db7-ae44-5f998150043d) | nexstudio | c6d13418 | <a href='https://b3768c4f-nexstudio.javaxman69.workers.dev'>Commit Preview URL</a><br><br><a href='https://feat-issue-5-i18n-home-menu-footer-nexstudio.javaxman69.workers.dev'>Branch Preview URL</a> | Apr 27 2026, 09:20 AM |
Sign in to join this conversation.
No description provided.