diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-04-09 14:51:32 +0400 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-04-09 14:51:41 +0400 |
commit | ee6fe9718e9eba3ebcc6e11a1fac6a8621e8e612 (patch) | |
tree | ec76903ff630710c2ee2ee097282d4aaa5c12513 /search | |
parent | 9feebeaf40b7723463bf7bb1977c64d950e527b5 (diff) |
make search results work on mobile as well
Diffstat (limited to 'search')
-rw-r--r-- | search/css/results.css | 15 |
1 files changed, 9 insertions, 6 deletions
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 * { |