Skip to content

Commit

Permalink
space expand button out from search box a bit more again
Browse files Browse the repository at this point in the history
  • Loading branch information
Grinnz committed Jun 14, 2024
1 parent a31587a commit dd06b9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/menubar.html.ep
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@
set_expand(true);
}
</script>
<button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-2" onclick="toggle_expand()">Expand</button>
<button id="content-expand-button" type="button" class="btn btn-outline-light d-none d-lg-inline-block mr-4" onclick="toggle_expand()">Expand</button>
</ul>
% if (defined app->search_backend) {
% my $search_params = config('search_params') // {};
<form class="form-inline" method="get" action="<%= url_for("$current_prefix/search") %>">
% foreach my $name (keys %$search_params) {
<input type="hidden" name="<%= $name %>" value="<%= $search_params->{$name} %>">
% }
<input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search" value="<%= $c->param('q') %>">
<input class="form-control mr-3" type="search" name="q" placeholder="Search" aria-label="Search" value="<%= param('q') %>">
</form>
% }
</div>
Expand Down

0 comments on commit dd06b9c

Please sign in to comment.