Use `sticky-top` instead of `fixed-top` for navbar

This commit is contained in:
Christopher C. Wells 2021-12-24 14:48:14 -05:00
parent 49919c2cbb
commit e62f4a6426
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
<meta name="msapplication-TileColor" content="#37abe9">
<meta name="theme-color" content="#ffffff">
</head>
<body style="padding-top: 3rem;">
<body>
{% block nav %}{% endblock %}

View File

@ -2,7 +2,7 @@
{% load babybuddy_tags i18n static timers %}
{% block nav %}
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
<nav class="navbar navbar-expand-md navbar-dark bg-dark sticky-top">
<a class="navbar-brand mr-2" href={% url "babybuddy:root-router" %}>
<img src="{% static "babybuddy/logo/icon-brand.png" %}" width="30" height="30" class="d-inline-block align-top" alt="">
<span class="d-none d-lg-inline-block">