padding around help button

This commit is contained in:
Oliver Gorwits
2012-12-05 21:14:06 +00:00
parent b83a5d055d
commit 4d74aa835b
2 changed files with 7 additions and 2 deletions

View File

@@ -27,6 +27,11 @@ body {
width: 100%;
}
#netmaphelp {
text-align: center;
padding-top: 5px;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* various styles to adjust the hero box used for homepage + login */

View File

@@ -1,4 +1,4 @@
<div id="netmaphelp" style="text-align: center;">
<div id="netmaphelp">
<button
class="btn btn-small btn-info" rel="popover"
data-title="Neighbor Map Controls"
@@ -40,7 +40,7 @@ var neighbors_data = {};
// main SVG background, with support for pan/zoom
var svg = d3.select("#netmap_pane").insert("svg", "#netmaphelp")
.attr("width", winWidth - 50)
.attr("height", winHeight - (110 + helpHeight))
.attr("height", winHeight - (100 + helpHeight))
.attr("pointer-events", "all")
.append('g')
.call(d3.behavior.zoom().on("zoom", redraw))