Blazor template first link fills whole horizontal space inside top-row #44133
Labels
area-blazor
Includes: Blazor, Razor Components
bug
This issue describes a behavior which is not expected - a bug.
feature-templates
Milestone
Is there an existing issue for this?
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
The text was updated successfully, but these errors were encountered: