Skip to content

Commit 644135f

Browse files
committed
fixes in manager
1 parent 60c86a7 commit 644135f

3 files changed

Lines changed: 33 additions & 5 deletions

File tree

manager/src/static/chart.js

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manager/src/static/chartjs-plugin-zoom@2.0.1.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manager/src/templates/single_session_data.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<link rel="stylesheet" href="{{ url_for('static', filename='session_data.css') }}">
1111

1212
<!-- Chart.js (core + zoom only) -->
13-
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
14-
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-zoom@2.0.1"></script>
13+
<script src="{{ url_for('static', filename='chart.js') }}"></script>
14+
<script src="{{ url_for('static', filename='chartjs-plugin-zoom@2.0.1.js') }}"></script>
1515

1616
<style>
1717
.charts-grid {
@@ -20,10 +20,11 @@
2020
gap: 50px;
2121
align-items: center;
2222
margin: 40px auto;
23+
width:80%;
2324
}
24-
.chart-container {
25-
width: 90vw;
26-
max-width: 1200px;
25+
.chart-container {
26+
width: 100%;
27+
min-width: 800px;
2728
position: relative;
2829
display: flex;
2930
flex-direction: column;

0 commit comments

Comments
 (0)