Reputation: 3
Upvotes: 0
Views: 2252
Reputation: 12685
From this github issue
The Identity scaffolder adds a wwwroot folder to the Server project with the default set of styles and other assets for the default Identity UI. These styles then override the styles that come from the Client project. In particular, both the Client and Server projects end up with a css/site.css.
You have the following two options:
Change the name of site.css
of wwwroot folder in Blazor Server project.
Remove the wwwroot folder in Blazor Server project.
Upvotes: 1