Merge pull request #8127 from owncloud/searchresults-mobile
make search results work on mobile as well
This commit is contained in:
commit
d826f33fae
|
@ -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 @@
|
||||||
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 * {
|
||||||
|
|
Loading…
Reference in New Issue