From ee6fe9718e9eba3ebcc6e11a1fac6a8621e8e612 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 9 Apr 2014 12:51:32 +0200 Subject: make search results work on mobile as well --- search/css/results.css | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'search') diff --git a/search/css/results.css b/search/css/results.css index 8a32b0b995d..c41e23af8a4 100644 --- a/search/css/results.css +++ b/search/css/results.css @@ -9,13 +9,14 @@ list-style:none; max-height:80%; overflow-x:hidden; - overflow-y: scroll; + overflow-y: auto; padding-bottom:6px; position:fixed; right:0; text-overflow:ellipsis; top:45px; width:380px; + max-width: 95%; z-index:75; } @@ -50,12 +51,14 @@ display: none; } -#searchresults td.result { - width:250px; +#searchresults .name, +#searchresults .text { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } -#searchresults td.result div.text { - padding-left:1em; - white-space:nowrap; +#searchresults .text { + padding-left: 16px; } #searchresults td.result * { -- cgit v1.2.3