Merge pull request #8127 from owncloud/searchresults-mobile

make search results work on mobile as well
This commit is contained in:
Thomas Müller 2014-04-15 17:10:01 +02:00
commit d826f33fae
2 changed files with 12 additions and 7 deletions

View File

@ -19,6 +19,7 @@
.searchbox input[type="search"]:focus, .searchbox input[type="search"]:focus,
.searchbox input[type="search"]:active { .searchbox input[type="search"]:active {
width: 155px; width: 155px;
max-width: 50%;
} }
/* do not show display name on mobile when profile picture is present */ /* do not show display name on mobile when profile picture is present */

View File

@ -9,13 +9,14 @@
list-style:none; list-style:none;
max-height:80%; max-height:80%;
overflow-x:hidden; overflow-x:hidden;
overflow-y: scroll; overflow-y: auto;
padding-bottom:6px; padding-bottom:6px;
position:fixed; position:fixed;
right:0; right:0;
text-overflow:ellipsis; text-overflow:ellipsis;
top:45px; top:45px;
width:380px; width:380px;
max-width: 95%;
z-index:75; z-index:75;
} }
@ -44,18 +45,21 @@
#searchresults td { #searchresults td {
padding:0 .3em; padding:0 .3em;
height: 32px; height: 44px;
} }
#searchresults tr.template { #searchresults tr.template {
display: none; display: none;
} }
#searchresults td.result { #searchresults .name,
width:250px; #searchresults .text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} }
#searchresults td.result div.text { #searchresults .text {
padding-left:1em; padding-left: 16px;
white-space:nowrap; color: #999;
} }
#searchresults td.result * { #searchresults td.result * {