Skip to content

Commit

Permalink
style: align the search bar to middle of the header
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jul 28, 2023
1 parent faaf181 commit f2f5063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/header/search-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{- if ne $page.RelPermalink .RelPermalink -}}
{{- $shortcut := partialCached "functions/search-shortcut" . }}
<hr class="d-xxl-none">
<form class="search-bar ms-auto" action="{{ with $page }}{{ .RelPermalink }}{{ end }}" novalidate>
<form class="search-bar ms-auto my-auto" action="{{ with $page }}{{ .RelPermalink }}{{ end }}" novalidate>
<div class="input-group input-group-sm align-items-center">
<span class="btn btn-search disabled position-absolute left-0 border-0 px-1">
<i class="fas fa-fw fa-search fa-lg"></i>
Expand Down

0 comments on commit f2f5063

Please sign in to comment.