Using Django and Bootstrap 4, I've created a navbar with a toggle feature. However, when viewed on a small screen, the toggle button does not display the icons as expected. Instead, it shows empty lines. Strangely, when the phone is rotated, the toggle feature works fine. I suspect it may be related to the screen resolution, but I'm unsure of how to address this issue.
Both jQuery and Bootstrap are correctly implemented in the order they should be.
The code snippet I'm using is as follows:
<nav class="navbar navbar-expand-lg navbar-dark fixed-top bg-dark white scrolling-navbar" role="navigation">
(navbar code here)
</nav>
In the head section:
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
</head>
In the body section:
<body>
(script tags here)
</body>
Any assistance would be greatly appreciated.
EDIT
View the navbar before clicking here.
View the navbar after clicking here.