From d5b8399a01f6c6f0131b0036f34766f848760347 Mon Sep 17 00:00:00 2001 From: Thomas Piccirello Date: Thu, 30 Apr 2020 01:20:09 -0700 Subject: [PATCH] Hide additional Web UI search filters on small screens Closes #11386. --- src/webui/www/private/views/search.html | 77 ++++++++++++++++--------- 1 file changed, 50 insertions(+), 27 deletions(-) diff --git a/src/webui/www/private/views/search.html b/src/webui/www/private/views/search.html index 7d753e6e9..545a73f6a 100644 --- a/src/webui/www/private/views/search.html +++ b/src/webui/www/private/views/search.html @@ -49,6 +49,25 @@ float: right; } + #searchResultsGranularFilters { + display: none; + } + + #searchResultsGranularFiltersWarning { + vertical-align: bottom; + margin-left: 10px; + } + + @media (min-width: 1060px) { + #searchResultsGranularFilters { + display: inline-block; + } + + #searchResultsGranularFiltersWarning { + display: none; + } + } +
@@ -86,33 +105,37 @@ - QBT_TR(Seeds:)QBT_TR[CONTEXT=SearchEngineWidget] - - to - - - QBT_TR(Size:)QBT_TR[CONTEXT=SearchEngineWidget] - - - to - - + QBT_TR(Warning)QBT_TR[CONTEXT=SearchEngineWidget] + +
+ QBT_TR(Seeds:)QBT_TR[CONTEXT=SearchEngineWidget] + + to + + + QBT_TR(Size:)QBT_TR[CONTEXT=SearchEngineWidget] + + + to + + +