diff options
author | 2022-02-13 15:24:38 +0100 | |
---|---|---|
committer | 2022-02-13 15:24:38 +0100 | |
commit | bfe6f21f3efe67c32647cbbe818cf98850b26930 (patch) | |
tree | 2d6a5d92b0df952affb3024adf63db6cdf0ae504 | |
parent | Make the remove all tags affect search, too. (diff) |
Fix search tag width bug on firefox.
Without a min-width, the tag would not extend to fit the full
size of the contents on Firefox. It seemed to work just fine on
Chrome, though. The fix is simple - just enforce a min-width equal
to fit-content.
-rw-r--r-- | pydis_site/static/css/resources/resources.css | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pydis_site/static/css/resources/resources.css b/pydis_site/static/css/resources/resources.css index b9d3c4a5..e33ffa22 100644 --- a/pydis_site/static/css/resources/resources.css +++ b/pydis_site/static/css/resources/resources.css @@ -95,6 +95,7 @@ display: block; .tag.search-query { display: none; max-width: fit-content; + min-width: fit-content; } .tag.search-query .inner { padding: 0; |