From b30e94372956b616dc15c038fca6f2164872be5b Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Sun, 13 Feb 2022 19:59:21 +0100 Subject: Fix bug with search tag taking up too much width. --- pydis_site/static/css/resources/resources.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pydis_site') 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; -- cgit v1.2.3