aspnetcore icon indicating copy to clipboard operation
aspnetcore copied to clipboard

Blazor template first link fills whole horizontal space inside top-row

Open Jimmys20 opened this issue 3 years ago • 0 comments

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.

2sulr

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

Jimmys20 avatar Sep 22 '22 22:09 Jimmys20