Skip to content

Commit a566bc5

Browse files
Chris McLeanChris McLean
authored andcommitted
styled categories word cloud with default container style
1 parent 448223d commit a566bc5

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

app/styles/main.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ body {
5353
min-height: 360px;
5454
}
5555

56+
.cloud{
57+
clear:both;
58+
}
5659

5760
/* BEGIN DATA SET CONTAINER */
5861

app/views/d3-cloud.tpl.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
<h3 class='pull-left'>{{title}}</h3>
2-
<p class="pull-right count">
3-
{{data.length}} of {{total}}
4-
</p>
5-
<div class='cloud'></div>
1+
<div class='data-set-container'>
2+
<h3 class='pull-left'>{{title}}</h3>
3+
<p class="pull-right count">
4+
{{data.length}} of {{total}}
5+
</p>
6+
<div class='cloud'></div>
7+
</div>

0 commit comments

Comments
 (0)