Skip to content

Commit

Permalink
Cleanup comments, fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Jul 27, 2022
1 parent 2861898 commit d007cb3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 6 additions & 1 deletion site/assets/scss/_search.scss
Expand Up @@ -2,7 +2,6 @@

.bd-search {
position: relative;
// width: 100%;

@include media-breakpoint-up(lg) {
position: absolute;
Expand Down Expand Up @@ -70,7 +69,13 @@
box-shadow: var(--docsearch-searchbox-shadow);
}
}
}

.DocSearch-Button-Keys,
.DocSearch-Button-Placeholder {
@include media-breakpoint-down(lg) {
display: none;
}
}

.DocSearch-Button-Keys {
Expand Down
6 changes: 2 additions & 4 deletions site/layouts/partials/docs-navbar.html
Expand Up @@ -8,7 +8,7 @@
</button>
</div>
{{- else }}
<!-- <div class="d-lg-none" style="width: 2.25rem;"></div> -->
<div class="d-lg-none" style="width: 1.5rem;"></div>
{{- end }}

<a class="navbar-brand p-0 me-0 me-lg-2" href="/" aria-label="Bootstrap">
Expand All @@ -17,9 +17,7 @@

<div class="d-flex">
{{ if eq .Layout "docs" }}
<div class="bd-search" id="docsearch" data-bd-docs-version="{{ .Site.Params.docs_version }}"></div>

<!-- <hr class="d-lg-none text-white-50"> -->
<div class="bd-search" id="docsearch" data-bd-docs-version="{{ .Site.Params.docs_version }}"></div>
{{ end }}

<button class="navbar-toggler d-flex d-lg-none order-3 p-2" type="button" data-bs-toggle="offcanvas" data-bs-target="#bdNavbar" aria-controls="bdNavbar" aria-label="Toggle navigation">
Expand Down

0 comments on commit d007cb3

Please sign in to comment.