diff options
author | 2022-02-13 13:32:37 +0100 | |
---|---|---|
committer | 2022-02-13 13:32:37 +0100 | |
commit | 836a288d482f765a38f2a60e59116e0036894840 (patch) | |
tree | 31cdbecae8ae07fbdce37a2a2455399b1ab2ca76 /pydis_site/static | |
parent | Add a filter tag when searching. (diff) |
Make the search tag look more like normal filters.
Diffstat (limited to 'pydis_site/static')
-rw-r--r-- | pydis_site/static/css/resources/resources.css | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pydis_site/static/css/resources/resources.css b/pydis_site/static/css/resources/resources.css index 6f97422b..b9d3c4a5 100644 --- a/pydis_site/static/css/resources/resources.css +++ b/pydis_site/static/css/resources/resources.css @@ -94,10 +94,14 @@ display: block; /* By default, we hide the search tag. We'll add it only when there's a search happening. */ .tag.search-query { display: none; + max-width: fit-content; } .tag.search-query .inner { padding: 0; } +.tag.search-query i { + margin: 0 !important; +} /* Disable clicking on the checkbox itself. */ /* Instead, we want to let the anchor tag handle clicks. */ @@ -194,7 +198,8 @@ button.delete.is-info::after { /* Give outlines to active tags */ span.filter-box-tag, -span.resource-tag.active { +span.resource-tag.active, +.tag.search-query { outline-width: 1px; outline-style: solid; } |