Skip to content

Commit 8d18f20

Browse files
committed
fix: update navbar buttons location
1 parent 2ff176a commit 8d18f20

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs_theme/nav.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<!-- New Navbar -->
22
<nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
33
<div class="container">
4-
<a class="navbar-brand" href="https://www.django-rest-framework.org/"
5-
>Django REST framework</a
6-
>
4+
<a class="navbar-brand" href="https://www.django-rest-framework.org/">
5+
<span class="d-none d-md-block">Django REST framework</span>
6+
<span class="d-block d-md-none">DRF</span>
7+
</a>
78

8-
<div class="d-flex gap-2 order-lg-5">
9+
<div class="d-flex gap-2 order-lg-5 justify-self-end ms-auto">
910
<button
1011
type="button"
1112
id="search_modal_show"

0 commit comments

Comments
 (0)