From 23c11fa7b7ae3fbb9d75f1c5b00ac5f755287015 Mon Sep 17 00:00:00 2001 From: mummified-corroding-granny Date: Wed, 1 Feb 2023 14:09:34 +0000 Subject: [PATCH 1/2] search page: always force advanced search to dropdown to avoid overlap searchbar (#106) * the advanced search dropdown (was dropping up depending on layout) was covering the search bar. This makes sure it always drops down. Works fine on small screens (mobile) * this is complementary to https://fsdfsd.net/rDrama/rDrama/pulls/96 with exception to the rare edge case that is happening before this new PR. The edge case is under some very specific combination of resolution + zoom, where the advanced search was partially going under the navbar because there are already some unknown z-index contexts in that area. In that case, it was impossible to fix with increasing z-index because we would just go back to the original problem or worse Reviewed-on: https://fsdfsd.net/rDrama/rDrama/pulls/106 Co-authored-by: mummified-corroding-granny Co-committed-by: mummified-corroding-granny --- files/templates/search.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/search.html b/files/templates/search.html index 80054bc0b..57e7671ad 100644 --- a/files/templates/search.html +++ b/files/templates/search.html @@ -31,7 +31,7 @@
{% if not request.path.startswith('/search/users') %}