C
C#2mo ago
skmkqw

Can't style NavLink in Blazor

I've been trying to create a frontend part of my application. My sidebar contained div's representing each page section. Recently i found out that using NavLinks is more correct in Blazor. Navigation itself works as expected, but no styles are applied to NavLinks. I've tried to style it in different ways, but none of them helped. adding styles to .element-style in chrome devtools works, so it looks like i'm referencing navlinks in a wrong way. See Layout branch -> ProjectPulse.Web->Components->Layout->Sidebar.razor https://github.com/skmkqw/ProjectPulseApp/tree/Layout
GitHub
GitHub - skmkqw/ProjectPulseApp at Layout
Contribute to skmkqw/ProjectPulseApp development by creating an account on GitHub.
0 Replies
No replies yetBe the first to reply to this messageJoin