• Hi,

    I have this bug on my navbar with Night Mode Plugin.
    A space appears between bottom border and higlight/active icon :
    alt text

    Here is my CUSTOM CSS

    .navbar-default {
        background-color: black;
        border-color: 2px solid silver;
        box-shadow: 0 0 5px 0 silver;
        opacity: 1;
    }
    

    I’m oblige to add this for fix this bug:

    .navbar-default {
    ...
    ...
    ...
    ....
    height: 50px;
    }
    

    Can we do better than that?


  • @downpw It’s because of the drop shadow you are using. If you set the below CSS, then this will counteract it

    .navbar-default {
        height: 50px;
    }
    

    Or, you could use

    .navbar-default {
        max-height: 50px;
    }
    

  • Not better way.

    Thanks.

  • Topic has been marked as solved  DownPW DownPW 

If this thread resolved an issue for you, or was useful, why not buy me a coffee? It's a nice gesture, and there's other ways to donate if you wish 💗

Discover More