Docs: add inline search form on help page

Referring to "the search docs box on the left"
doesn't make sense on mobile (which hides search
in the hamburger menu). Instead, just include
a search form at that point in the (html) docs.
This commit is contained in:
medmunds
2021-01-25 12:49:25 -08:00
committed by Mike Edmunds
parent e523df35d1
commit 6c8a779ce1
2 changed files with 24 additions and 1 deletions

View File

@@ -43,3 +43,16 @@ table.sticky-left th:first-of-type[colspan] > p {
.rst-content a:visited code.xref {
color: inherit;
}
/* Inline search forms (Anymail addition) */
.anymail-inline-search-form {
margin-top: -1em;
margin-bottom: 1em;
}
.anymail-inline-search-form input[type=search] {
width: 280px;
max-width: 100%;
border-radius: 50px;
padding: 6px 12px;
}