Small fixes to style:

- Fixed player page calendar going out of the box
- Fixed night mode background color being applied to world pies
This commit is contained in:
Rsl1122 2019-08-16 13:20:57 +03:00
parent 76aac972e7
commit b1c4416d78
2 changed files with 5 additions and 4 deletions

View File

@ -400,7 +400,8 @@ function sessionCalendar(id, events, firstDay) {
events: events,
navLinks: true,
height: 'parent',
height: 450,
contentHeight: 445,
header: {
left: 'title',
center: '',
@ -557,10 +558,10 @@ function worldMap(id, colorMin, colorMax, mapSeries) {
function worldPie(id, worldSeries, gmSeries, bgColor) {
var defaultTitle = '';
var defaultSubtitle = 'Click the slices to view used GameMode';
var nightMode = window.localStorage.getItem('nightMode') == 'true';
var chart = Highcharts.chart(id, {
chart: {
backgroundColor: bgColor ? bgColor : '#44475a',
backgroundColor: nightMode ? (bgColor ? bgColor : '#44475a') : '#fff',
plotBackgroundColor: null,
plotBorderWidth: null,
plotShadow: false,

View File

@ -344,7 +344,7 @@
class="far fa-fw fa-calendar-alt col-teal"></i>
Session Calendar</h6>
</div>
<div class="chart-area" id="sessionCalendar"></div>
<div class="chart-area" id="sessionCalendar" style="height: 510px;"></div>
</div>
<!-- Most Recent Sessions -->