diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-15 17:10:01 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-15 17:10:01 +0200 |
commit | d826f33fae85e8ad68bd5d7b2b3a10cdeddf8827 (patch) | |
tree | b0b44f6e7cc2dcdc81466a0f4793b6aab6d86424 | |
parent | 242b3e240d420ab30b169605f6b06939069c0614 (diff) | |
parent | f24b1509897299a3c80926da29ae0616bfbb17bf (diff) | |
download | nextcloud-server-d826f33fae85e8ad68bd5d7b2b3a10cdeddf8827.tar.gz nextcloud-server-d826f33fae85e8ad68bd5d7b2b3a10cdeddf8827.zip |
Merge pull request #8127 from owncloud/searchresults-mobile
make search results work on mobile as well
-rw-r--r-- | core/css/mobile.css | 1 | ||||
-rw-r--r-- | search/css/results.css | 18 |
2 files changed, 12 insertions, 7 deletions
diff --git a/core/css/mobile.css b/core/css/mobile.css index c67ac3e5ecf..821da619295 100644 --- a/core/css/mobile.css +++ b/core/css/mobile.css @@ -19,6 +19,7 @@ .searchbox input[type="search"]:focus, .searchbox input[type="search"]:active { width: 155px; + max-width: 50%; } /* do not show display name on mobile when profile picture is present */ diff --git a/search/css/results.css b/search/css/results.css index 8a32b0b995d..6aa73f55c33 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; } @@ -44,18 +45,21 @@ #searchresults td { padding:0 .3em; - height: 32px; + height: 44px; } #searchresults tr.template { 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; + color: #999; } #searchresults td.result * { |