Skip to content

Commit be481c9

Browse files
GuillaumeGomezJoshua Nelson
authored and
Joshua Nelson
committed
Improve the navbar resize when not on a crate documentation
1 parent 78bbded commit be481c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/header/topbar_begin.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<div class="container">
1111
<div class="pure-menu pure-menu-horizontal" role="navigation" aria-label="Main navigation">
1212
<form action="/releases/search" method="GET"
13-
class="landing-search-form-nav {% if not is_latest_version %}not-latest{% endif %}">
13+
class="landing-search-form-nav {% if is_latest_version is defined and not is_latest_version %}not-latest{% endif %}">
1414
{# The search bar #}
1515
<div id="search-input-nav" class="pure-menu-right">
1616
<label for="nav-search">

0 commit comments

Comments
 (0)