Skip to content

Commit 757a029

Browse files
navbar collapse issue fixed
1 parent cb15655 commit 757a029

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/static/css/style.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,16 @@ body {
102102
}
103103

104104
.navbar-toggler {
105-
border: none;
105+
background: linear-gradient(135deg, #e0f7fa, #b2ebf2); /* Light blue gradient background */
106+
border: none; /* Optional: Remove the default border */
106107
}
107108

108109
.navbar-toggler-icon {
109-
background-image: url('data:image/svg+xml;charset=utf8,...');
110+
background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns%3D%22http://www.w3.org/2000/svg%22 viewBox%3D%220 0 30 30%22%3E%3Cpath stroke%3D%22rgba(255, 255, 255, 1.0)%22 stroke-width%3D%222%22 stroke-linecap%3D%22round%22 stroke-miterlimit%3D%2210%22 d%3D%22M4 7h22M4 15h22M4 23h22%22/%3E%3C/svg%3E');
111+
/* Change the stroke color inside the URL to customize the icon color */
110112
}
111113

114+
112115
/* Responsive adjustments */
113116
@media (max-width: 992px) {
114117
.navbar-nav {

src/templates/base/base.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
<!-- jQuery -->
2323
<script src="{{ url_for('static', filename='js/main.js')}}"></script>
2424
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
25-
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js"></script>
25+
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
26+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy" crossorigin="anonymous"></script>
2627
{% block extra_scripts %}{% endblock %}
2728
{% include 'ext/footer.html' %}
2829
</body>

0 commit comments

Comments
 (0)