mirror of https://github.com/snachodog/mybuddy.git
Use `sticky-top` instead of `fixed-top` for navbar
This commit is contained in:
parent
49919c2cbb
commit
e62f4a6426
|
@ -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 %}
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue