Addition of scrollbar to search results.
This commit is contained in:
parent
5118005699
commit
3d8332056a
3 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,7 @@
|
|||
function selectEdgeOnClickHandler(adj, e) {
|
||||
if (Mconsole.busy) return;
|
||||
|
||||
|
||||
|
||||
// catch right click on mac, which is often like ctrl+click
|
||||
if (navigator.platform.indexOf("Mac")!=-1 && e.ctrlKey) {
|
||||
selectEdgeOnRightClickHandler(adj, e)
|
||||
|
@ -204,7 +205,6 @@ function selectNodeOnClickHandler(node, e) {
|
|||
selectNodeOnRightClickHandler(node, e)
|
||||
return;
|
||||
}
|
||||
|
||||
var check = nodeWasDoubleClicked();
|
||||
if (check) {
|
||||
nodeDoubleClickHandler(node, e);
|
||||
|
|
|
@ -160,7 +160,7 @@ var labelType, useGradients, nativeTextSupport, animate, json, Mconsole = null,
|
|||
default: break; //console.log(e.which);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// initialize the search box autocomplete results
|
||||
var mapheader = userid ? '<h3 class="search-header">Maps</h3><input type="checkbox" class="limitToMe" id="limitMapsToMe"></input><label for="limitMapsToMe" class="limitToMeLabel">added by me</label><div class="minimizeResults minimizeMapResults"></div><div class="clearfloat"></div>' : '<h3 class="search-header">Maps</h3><div class="minimizeResults minimizeMapResults"></div><div class="clearfloat"></div>';
|
||||
var topicheader = userid ? '<h3 class="search-header">Topics</h3><input type="checkbox" class="limitToMe" id="limitTopicsToMe"></input><label for="limitTopicsToMe" class="limitToMeLabel">added by me</label><div class="minimizeResults minimizeTopicResults"></div><div class="clearfloat"></div>' : '<h3 class="search-header">Topics</h3><div class="minimizeResults minimizeTopicResults"></div><div class="clearfloat"></div>';
|
||||
|
|
|
@ -1080,7 +1080,7 @@ overflow-x: hidden;
|
|||
}
|
||||
|
||||
.sidebarSearch .resultText {
|
||||
width: 125px;
|
||||
width: 250px;
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
|
@ -1194,7 +1194,7 @@ line-height: 20px;
|
|||
background: white;
|
||||
width: auto;
|
||||
bottom: 0;
|
||||
left: 35px;
|
||||
right: 20px;
|
||||
color: black;
|
||||
white-space: nowrap;
|
||||
border-radius: 4px;
|
||||
|
@ -1205,14 +1205,14 @@ line-height: 20px;
|
|||
z-index:100;
|
||||
}
|
||||
.sidebarSearch .mapCount .tip,.sidebarSearch .synapseCount .tip, .sidebarSearch .topicCount .tip {
|
||||
left:-3px;
|
||||
right:-3px;
|
||||
bottom:24px;
|
||||
}
|
||||
.sidebarSearch .hoverForTip:hover .tip {
|
||||
display:block;
|
||||
}
|
||||
.sidebarSearch .mapContributorsIcon .mapContributors {
|
||||
left:0;
|
||||
right:0;
|
||||
bottom:21px;
|
||||
white-space:normal;
|
||||
width:200px;
|
||||
|
|
Loading…
Reference in a new issue