padding around help button
This commit is contained in:
@@ -27,6 +27,11 @@ body {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#netmaphelp {
|
||||||
|
text-align: center;
|
||||||
|
padding-top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
|
||||||
/* various styles to adjust the hero box used for homepage + login */
|
/* various styles to adjust the hero box used for homepage + login */
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div id="netmaphelp" style="text-align: center;">
|
<div id="netmaphelp">
|
||||||
<button
|
<button
|
||||||
class="btn btn-small btn-info" rel="popover"
|
class="btn btn-small btn-info" rel="popover"
|
||||||
data-title="Neighbor Map Controls"
|
data-title="Neighbor Map Controls"
|
||||||
@@ -40,7 +40,7 @@ var neighbors_data = {};
|
|||||||
// main SVG background, with support for pan/zoom
|
// main SVG background, with support for pan/zoom
|
||||||
var svg = d3.select("#netmap_pane").insert("svg", "#netmaphelp")
|
var svg = d3.select("#netmap_pane").insert("svg", "#netmaphelp")
|
||||||
.attr("width", winWidth - 50)
|
.attr("width", winWidth - 50)
|
||||||
.attr("height", winHeight - (110 + helpHeight))
|
.attr("height", winHeight - (100 + helpHeight))
|
||||||
.attr("pointer-events", "all")
|
.attr("pointer-events", "all")
|
||||||
.append('g')
|
.append('g')
|
||||||
.call(d3.behavior.zoom().on("zoom", redraw))
|
.call(d3.behavior.zoom().on("zoom", redraw))
|
||||||
|
|||||||
Reference in New Issue
Block a user