diff --git a/dashboard-ui/css/librarybrowser.css b/dashboard-ui/css/librarybrowser.css index 278b81007e..34c9254316 100644 --- a/dashboard-ui/css/librarybrowser.css +++ b/dashboard-ui/css/librarybrowser.css @@ -439,8 +439,8 @@ a.itemTag:hover { } .libraryPage ::-webkit-scrollbar { - width: 10px; - height: 10px; + width: 12px; + height: 12px; } .libraryPage ::-webkit-scrollbar-button:start:decrement, diff --git a/dashboard-ui/scripts/site.js b/dashboard-ui/scripts/site.js index da2e17ccae..4f2f8c61fa 100644 --- a/dashboard-ui/scripts/site.js +++ b/dashboard-ui/scripts/site.js @@ -1100,7 +1100,7 @@ var Dashboard = { var parts = []; var hours = ticks / ticksPerHour; - hours = hours.toFixed(0); + hours = Math.floor(hours); if (hours) { parts.push(hours); @@ -1111,7 +1111,7 @@ var Dashboard = { var ticksPerMinute = 600000000; var minutes = ticks / ticksPerMinute; - minutes = minutes.toFixed(0); + minutes = Math.floor(minutes); ticks -= (minutes * ticksPerMinute); @@ -1123,7 +1123,7 @@ var Dashboard = { var ticksPerSecond = 10000000; var seconds = ticks / ticksPerSecond; - seconds = seconds.toFixed(0); + seconds = Math.round(seconds); if (seconds < 10) { seconds = '0' + seconds;