Приклеил навбар к верху.
All checks were successful
Auto-Deploy-Shop / deploy (push) Successful in 8s
All checks were successful
Auto-Deploy-Shop / deploy (push) Successful in 8s
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
/* Page background: RAL 1013 (Oyster white) — approximate hex */
|
||||
body {
|
||||
background-color: #EDE6D1;
|
||||
padding-top: 70px; /* leave space for fixed navbar */
|
||||
}
|
||||
</style>
|
||||
{% block extra_css %}{% endblock %}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- templates/components/navbar.html -->
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
|
||||
<div class="container">
|
||||
<a class="navbar-brand" href="{% url 'home' %}">Мой проект</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
||||
|
||||
Reference in New Issue
Block a user