Skip to content
Snippets Groups Projects
Commit d826f33f authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #8127 from owncloud/searchresults-mobile

make search results work on mobile as well
parents 242b3e24 f24b1509
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,7 @@ ...@@ -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 */
......
...@@ -9,13 +9,14 @@ ...@@ -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 @@ ...@@ -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 {
}
#searchresults td.result div.text {
padding-left:1em;
white-space: nowrap; white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#searchresults .text {
padding-left: 16px;
color: #999;
} }
#searchresults td.result * { #searchresults td.result * {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment