Reports resized
This commit is contained in:
parent
aff2c1d862
commit
f2ead5dbac
@ -13,19 +13,19 @@
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.chart-container.small-chart {
|
||||
.chart-container.large-chart {
|
||||
background: #393E46;
|
||||
padding: 1em 1.2em;
|
||||
padding: 1.5em 2em;
|
||||
border-radius: 8px;
|
||||
margin-bottom: 1em;
|
||||
min-width: 320px;
|
||||
max-width: 350px;
|
||||
flex: 1 1 320px;
|
||||
min-width: 400px;
|
||||
max-width: 520px;
|
||||
flex: 1 1 400px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.chart-container.small-chart canvas {
|
||||
.chart-container.large-chart canvas {
|
||||
max-width: 100%;
|
||||
height: 260px !important;
|
||||
height: 370px !important;
|
||||
width: 100% !important;
|
||||
}
|
||||
h2 { color: #948979; font-size: 1.1em; margin-bottom: 0.5em; }
|
||||
@ -41,13 +41,13 @@
|
||||
<body>
|
||||
<a href="/" style="margin-bottom: 2em; display: inline-block;">Back to Attendance</a>
|
||||
<div class="charts-flex">
|
||||
<div class="chart-container small-chart">
|
||||
<div class="chart-container large-chart">
|
||||
<h2>Attendance Count per Player</h2>
|
||||
<canvas id="barChart" width="300" height="300"></canvas>
|
||||
<canvas id="barChart" width="480" height="400"></canvas>
|
||||
</div>
|
||||
<div class="chart-container small-chart">
|
||||
<div class="chart-container large-chart">
|
||||
<h2>Player Attendance Share (Pie)</h2>
|
||||
<canvas id="pieChart" width="300" height="300"></canvas>
|
||||
<canvas id="pieChart" width="400" height="400"></canvas>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user