diff options
author | 2022-02-13 19:59:21 +0100 | |
---|---|---|
committer | 2022-02-13 20:04:42 +0100 | |
commit | b30e94372956b616dc15c038fca6f2164872be5b (patch) | |
tree | ef12675a8e1ea2f6a87ea6c72a872959c987553d /pydis_site | |
parent | Titlecase the PyDis YouTube resource (diff) |
Fix bug with search tag taking up too much width.
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/static/css/resources/resources.css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pydis_site/static/css/resources/resources.css b/pydis_site/static/css/resources/resources.css index 79e153d9..96d06111 100644 --- a/pydis_site/static/css/resources/resources.css +++ b/pydis_site/static/css/resources/resources.css @@ -95,11 +95,13 @@ display: block; .tag.search-query { display: none; min-width: fit-content; + max-width: fit-content; + padding-right: 2em; } .tag.search-query .inner { display: inline-block; padding: 0; - max-width: 17.5rem; + max-width: 16.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; @@ -157,7 +159,6 @@ i.is-primary { color: #7289DA; } - /* Set default display to inline-flex, for centering. */ span.filter-box-tag { display: none; |