Skip to content

Commit 5926c15

Browse files
committed
fix: Missing borders in dTree demo
1 parent 7876de6 commit 5926c15

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
## Treehouse
77
There exists a playground/open repository for dTree graphs called [Treehouse](https://treehouse.gartner.io). There anyone can host a dTree graph without having to create a website or interact directly with the library. It uses Github gists to store the data and displays it in a nice format. Checkout the **demo** graph for dTree: https://treehouse.gartner.io/ErikGartner/58e58be650453b6d49d7
88

9-
The demo is also available on [JSFiddle](https://jsfiddle.net/tpde0cer/998/).
9+
The demo is also available on [JSFiddle](https://jsfiddle.net/zsd4pwr3/).
1010

1111
## Installation
1212
There are several ways to use dTree. One way is to simply include the compiled file ```dTree.js``` that then exposes a ```dTree``` variable. dTree is available on both NPM and Bower as *d3-dtree*.

test/demo/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<meta charset="utf-8">
3-
<style type="text/css">
43

4+
<style type="text/css">
55
body {
66
font: 10px sans-serif;
77
}
@@ -17,11 +17,13 @@
1717
background-color: lightblue;
1818
border-style: solid;
1919
border-width: 1px;
20+
box-sizing: border-box;
2021
}
2122
.woman {
2223
background-color: pink;
2324
border-style: solid;
2425
border-width: 1px;
26+
box-sizing: border-box;
2527
}
2628
.emphasis{
2729
font-style: italic;
@@ -34,8 +36,8 @@
3436
border-style: solid;
3537
border-width: 1px;
3638
}
37-
3839
</style>
40+
3941
<script src="https://cdn.jsdelivr.net/lodash/4.17.4/lodash.min.js"></script>
4042
<script src="https://d3js.org/d3.v4.min.js"></script>
4143
<script src="dtree.js"></script>

0 commit comments

Comments
 (0)