Skip to content

Commit

Permalink
Improve navigation bar (#3482)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimasciput authored Sep 18, 2023
1 parent e0da793 commit 53c0ec4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions bims/static/css/fbis/navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ body, #wrap {
font-size: 12pt;
}

@media screen and (max-width: 1310px) {
@media screen and (max-width: 1200px) {
.hr-navbar .my-2 a {
font-size: 13px;
padding-left: 15px;
Expand All @@ -33,7 +33,7 @@ body, #wrap {
width: auto !important;
z-index: 9999;
max-height: 250px;
overflow-y: scroll;
overflow-y: auto;
}
}

Expand All @@ -42,7 +42,6 @@ body, #wrap {
}

li.dropdown-menu-item a {
padding-right: 25px;
}

li.dropdown-menu-item {
Expand Down Expand Up @@ -107,4 +106,4 @@ li.dropdown-menu-item {
margin-top: -5px;
padding-left: 1.9rem;
font-weight: 700;
}
}
2 changes: 1 addition & 1 deletion bims/templates/fbis/navigation_bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h5 class="my-0 mr-md-auto font-weight-normal">
<div class="text-sm">Upload</div>
<li class="dropdown-menu-item"><a href="/upload-taxa/">Taxonomic Data</a></li>
<li class="dropdown-menu-item"><a href="/upload-collections/">Occurrence Data</a></li>
<li class="dropdown-menu-item"><a href="/upload-physico-chemical/">Physico-chemical Data</a></li>
<li class="dropdown-menu-item"><a href="/upload-physico-chemical/" style="font-size: 10pt">Physico-chemical Data</a></li>
<div class="dropdown-divider"></div>
<li class="dropdown-menu-item"><a href="/admin/">Admin Page</a></li>
<li class="dropdown-menu-item"><a href="/cms/">Wagtail Admin</a></li>
Expand Down

0 comments on commit 53c0ec4

Please sign in to comment.