feat: Update style for chart and table
All checks were successful
Build Docker / BuildImage (push) Successful in 33s

This commit is contained in:
Nathan Woodburn 2024-12-05 23:14:11 +11:00
parent 388afaea8c
commit 1b7a35e51f
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -66,6 +66,7 @@
textStyle: { color: 'white' }
},
backgroundColor: '#212529',
sliceVisibilityThreshold: 0.02
};
async function fetchData(apiUrl) {
@ -128,6 +129,7 @@
const table = document.createElement('table');
table.style.margin = 'auto';
table.style.borderCollapse = 'collapse';
table.style.maxWidth = '100%';
const thead = document.createElement('thead');
const tbody = document.createElement('tbody');