Skip to content

Commit

Permalink
#787 - Sidebar2: Indentation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gvreddy04 committed Jul 12, 2024
1 parent 297e154 commit 105aef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blazorbootstrap/Components/Sidebar2/Sidebar2Item.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ private string GetNavLinkStyle()
else if (!HasChilds && Level == 0)
level += 0.25;

return $"padding-left:{level}rem;";
return $"padding-left:{level.ToString(CultureInfo.InvariantCulture)}rem;";
}

private void ToggleNavItemGroup() => NavItemGroupExpanded = !NavItemGroupExpanded;
Expand Down

0 comments on commit 105aef3

Please sign in to comment.