Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
修正图表显示bug
注释rank页
  • Loading branch information
NatsuDawn committed Feb 8, 2015
1 parent a6ab5b6 commit c96cb75
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions app/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ App.config(['$locationProvider', '$routeProvider', function($locationProvider, $
when('/donate', {
templateUrl: 'views/donate.html'
}).
when('/rank', {
controller: 'rankCtl',
templateUrl: 'views/rank.html'
}).
// when('/rank', {
// controller: 'rankCtl',
// templateUrl: 'views/rank.html'
// }).
when('/report', {
controller: 'reportCtl',
templateUrl: 'views/report.html'
Expand Down
3 changes: 2 additions & 1 deletion app/scripts/controllers/reportCtl.js
Original file line number Diff line number Diff line change
Expand Up @@ -2042,7 +2042,8 @@ App.controller('reportCtl', ['$scope', '$location', 'anchorScroll', function($sc
rowWidth = window.innerWidth;
$(".navbar-side").css('display','none')
} else {
rowWidth = $('#stat_person_code').width();
//某些情况有bug 故-1
rowWidth = $('#stat_person_code').width() - 1;
sidebarEventListener();
}
var person = [
Expand Down
2 changes: 1 addition & 1 deletion app/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ p {
margin-top: 15px;
}
.navbar-side ul a{
font-size: 18px;
font-size: 16px;
}
.navbar-side ul ul a{
font-size: 14px;
Expand Down

0 comments on commit c96cb75

Please sign in to comment.