maker in sidebarpanel

sblb 1,166 Reputation points
2023-01-04T15:29:08.407+00:00

Hi, I've updated the blazor wasm to net core 6 and right now I have a markes r in SibeBarpanel (see the picture below).
Do you know I can disable this markers?
thanks in advance
276181-image.png

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,385 questions
{count} votes

Accepted answer
  1. AgaveJoe 26,191 Reputation points
    2023-01-06T14:01:59.873+00:00

    ::marker is a CSS pseudo-element related to an HTML list element which controls the bullets.

    https://developer.mozilla.org/en-US/docs/Web/CSS/::marker

    It is not clear if the <li> tags are within a <ul> or <ol> tag. I'm guessing the HTML is malformed which is causing the issue. If you look at the screenshot the <li> tags have an underline. Place your cursor over the underline. You should get a pop up a message telling you what's wrong with the HTML.

    Visual Studio Example
    276931-capture.png

    Perhaps learning the HTML ordered and unordered list will help solve this issue? Otherwise share enough code so the community can reproduce this issue and explain your user interface design intent.

    https://www.w3schools.com/html/html_lists.asp

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. sblb 1,166 Reputation points
    2023-01-07T12:01:48.423+00:00

    .
    I don't want maker.

    The structure of mainlayout.razor is

     36 lines (30 sloc) 1.11 KB  
    <div class="top-row ps-3 navbar navbar-dark">  
        <div class="container-fluid">  
            @*<a class="navbar-brand" href="">AppWeb</a>*@  
                       
            <button title="Navigation menu" class="navbar-toggler" @onclick="ToggleNavMenu">  
                <span class="navbar-toggler-icon"></span>  
            </button>  
        </div>  
    </div>  
      
    <div class="@NavMenuCssClass" @onclick="ToggleNavMenu">  
        <nav class="flex-column">  
             <li class="nav-item px-3">  
                <NavLink class="nav-link" href="" Match="NavLinkMatch.All">  
                    <span class="oi oi-home" aria-hidden="true"></span> Home  
                </NavLink>  
            </li>  
            <li class="nav-item px-3">  
                <NavLink class="nav-link" href="developer" Match="NavLinkMatch.All">  
                    <span class="oi oi-list-rich" aria-hidden="true"></span> Engineering Change  
                </NavLink>  
              
             </li>  
        </nav>  
    </div>  
      
    @code {  
        private bool collapseNavMenu = true;  
      
        private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null;  
      
        private void ToggleNavMenu()  
        {  
            collapseNavMenu = !collapseNavMenu;  
        }  
    }