Visual Studio 2022 ASP.NET Core identity UI broken styles for login page

Kumar 1 Reputation point
2022-02-20T05:50:47.177+00:00

Using VS 2022 created a new project using ASP.NET Core MVC App including the individual account authentication with .NET 6.0 . When I run the application from VS and click on the login/register button the styles look to be broken. There is no gap between the text fields. . Can you please fix this. I tried the same VS 2019 and .NET 5.0 and it looks good. Please see attached screen shots below. The first one is VS 2022 and the second one is VS 2019

176066-image.png

176132-image.png

Developer technologies | ASP.NET | ASP.NET Core
Microsoft Security | Microsoft Identity Manager
{count} votes

1 answer

Sort by: Most helpful
  1. Kumar 1 Reputation point
    2022-02-20T23:59:36.393+00:00

    Yep, looked at the github history for the register page, the class on the div was changed from form-group to form-floating. When I did a scaffold of the register page and put the old style back to from-group it works as expected.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.