Skip to content

Commit 8e78b52

Browse files
committed
Change ui (small title & change count of site for chart)
1 parent d1d4778 commit 8e78b52

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

scripts/chart/chart-core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function donutChart() {
7474
.data(pie(data))
7575
.enter().append("g")
7676
.attr("transform", function (d, i) {
77-
return "translate(" + (130) + "," + (i * 20 - 40) + ")"; // place each legend on the right and bump each one down 15 pixels
77+
return "translate(" + (130) + "," + (i * 20 - 80) + ")"; // place each legend on the right and bump each one down 15 pixels
7878
})
7979
.attr("class", "legend");
8080

scripts/webact.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function getTabsFromStorage(tabs) {
107107

108108
ui.addLineToTableOfSite(targetTabs[i], currentTab, summaryTime);
109109

110-
if (i <= 5)
110+
if (i <= 8)
111111
addTabForChart(tabsForChart, targetTabs[i].url, summaryTime);
112112
else addTabOthersForChart(tabsForChart, summaryTime);
113113
}

style/webact.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ hr {
8080
}
8181

8282
.title{
83-
font-size: 15px;
83+
font-size: 12px;
8484
font-weight: 650;
85-
margin: 5px;
85+
margin: 2px;
8686
text-align: center;
8787
}
8888

@@ -121,7 +121,7 @@ input[type="date"]{
121121

122122
.btn-block{
123123
width: 500px;
124-
margin-bottom: 7px;
124+
margin-bottom: 5px;
125125
}
126126

127127
.no-data{

0 commit comments

Comments
 (0)