diff options
author | 2022-02-13 13:18:48 +0100 | |
---|---|---|
committer | 2022-02-13 13:18:48 +0100 | |
commit | 6addd63c2f5ea34382d3561073945a9ae6f2ea12 (patch) | |
tree | ae54faffaccdc27efa08ec18f97903d800b5e935 /pydis_site/static/css/resources | |
parent | Implement fuzzy search. (diff) |
Add a filter tag when searching.
Diffstat (limited to 'pydis_site/static/css/resources')
-rw-r--r-- | pydis_site/static/css/resources/resources.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pydis_site/static/css/resources/resources.css b/pydis_site/static/css/resources/resources.css index f46803e2..6f97422b 100644 --- a/pydis_site/static/css/resources/resources.css +++ b/pydis_site/static/css/resources/resources.css @@ -91,6 +91,14 @@ display: block; display: flex !important; } +/* By default, we hide the search tag. We'll add it only when there's a search happening. */ +.tag.search-query { + display: none; +} +.tag.search-query .inner { + padding: 0; +} + /* Disable clicking on the checkbox itself. */ /* Instead, we want to let the anchor tag handle clicks. */ .filter-checkbox { |