fix(ui): remove default list-style bullets from TreeView ul elements
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<ul role="tree" class="tv-root @(ShowGuideLines ? "tv-guides" : "")">
|
<ul role="tree" class="tv-root @(ShowGuideLines ? "tv-guides" : "")" style="list-style:none;padding-left:0;margin:0;">
|
||||||
@foreach (var item in _items)
|
@foreach (var item in _items)
|
||||||
{
|
{
|
||||||
RenderNode(item, 0);
|
RenderNode(item, 0);
|
||||||
@@ -53,7 +53,7 @@ else
|
|||||||
</div>
|
</div>
|
||||||
@if (isBranch && isExpanded && children is { Count: > 0 })
|
@if (isBranch && isExpanded && children is { Count: > 0 })
|
||||||
{
|
{
|
||||||
<ul role="group">
|
<ul role="group" style="list-style:none;padding-left:0;margin:0;">
|
||||||
@foreach (var child in children)
|
@foreach (var child in children)
|
||||||
{
|
{
|
||||||
RenderNode(child, depth + 1);
|
RenderNode(child, depth + 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user