Skip to content

fix: include global CSS in locale-specific routes#19

Merged
majdkt merged 1 commit intomasterfrom
fix/npm-standardization-picomatch
Apr 9, 2026
Merged

fix: include global CSS in locale-specific routes#19
majdkt merged 1 commit intomasterfrom
fix/npm-standardization-picomatch

Conversation

@majdkt
Copy link
Copy Markdown
Collaborator

@majdkt majdkt commented Apr 9, 2026

Import @/styles/global.css in [...path].astro to ensure CSS is bundled and included in generated /en/ and /ar/ pages. Resolves issue where locale pages loaded without UI/styles despite HTML being present.

The CSS import forces Astro to include all necessary stylesheets in the rendered output for dynamically routed locale pages.

Import @/styles/global.css in [...path].astro to ensure CSS is bundled
and included in generated /en/ and /ar/ pages. Resolves issue where
locale pages loaded without UI/styles despite HTML being present.

The CSS import forces Astro to include all necessary stylesheets in
the rendered output for dynamically routed locale pages.
@majdkt majdkt merged commit ce885b9 into master Apr 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant