mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-07 04:18:26 +02:00
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:
parent
76aac972e7
commit
b1c4416d78
@ -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,
|
||||
|
@ -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 -->
|
||||
|
Loading…
Reference in New Issue
Block a user