summaryrefslogtreecommitdiff
path: root/docs/src/components/Header/Search.css
diff options
context:
space:
mode:
authorGravatar Fred K. Schott <fkschott@gmail.com> 2021-08-23 11:53:44 -0700
committerGravatar GitHub <noreply@github.com> 2021-08-23 14:53:44 -0400
commite03f39a1b3e8e80a321d26c5dc8a913955d9a46e (patch)
tree8c2b44534d1674af7d9f26fc7a038cebe3d1d128 /docs/src/components/Header/Search.css
parentd51e0f4fef5a19eb82c2e02c41578bd908b39720 (diff)
downloadastro-e03f39a1b3e8e80a321d26c5dc8a913955d9a46e.tar.gz
astro-e03f39a1b3e8e80a321d26c5dc8a913955d9a46e.tar.zst
astro-e03f39a1b3e8e80a321d26c5dc8a913955d9a46e.zip
fix the rtl search bar view (#1177)
Diffstat (limited to 'docs/src/components/Header/Search.css')
-rw-r--r--docs/src/components/Header/Search.css24
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/src/components/Header/Search.css b/docs/src/components/Header/Search.css
index 2056c2c8f..559c676ee 100644
--- a/docs/src/components/Header/Search.css
+++ b/docs/src/components/Header/Search.css
@@ -3,6 +3,18 @@
--docsearch-primary-color: var(--theme-accent);
--docsearch-logo-color: var(--theme-text);
}
+
+.DocSearch-Modal .DocSearch-Hit a {
+ box-shadow: none;
+ border: 1px solid var(--theme-accent);
+}
+
+
+/** Style Search Bar */
+.search-placeholder {
+ flex-grow: 1;
+ text-align: initial;
+}
.search-input {
flex-grow: 1;
box-sizing: border-box;
@@ -40,9 +52,6 @@
color: var(--theme-text-light);
}
.search-hint {
- position: absolute;
- top: 7px;
- right: 19px;
padding: 3px 5px;
display: none;
display: none;
@@ -65,12 +74,3 @@
display: flex;
}
}
-
-/* ------------------------------------------------------------ *\
- DocSearch (Algolia)
-\* ------------------------------------------------------------ */
-
-.DocSearch-Modal .DocSearch-Hit a {
- box-shadow: none;
- border: 1px solid var(--theme-accent);
-}