aspnetcore
aspnetcore copied to clipboard
Blazor template first link fills whole horizontal space inside top-row
Is there an existing issue for this?
- [x] I have searched the existing issues
Describe the bug
In Blazor templates with authentication enabled the whole top-row is clickable because the first anchor element fills the entire horizontal space.

This happens because of this style: https://github.com/dotnet/aspnetcore/blob/main/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/Shared/MainLayout.razor.css#L72
Expected Behavior
Anchor tag should not be clickable outside its text.
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response