generated from nathanwoodburn/python-webserver-template
feat: Update style for chart and table
All checks were successful
Build Docker / BuildImage (push) Successful in 33s
All checks were successful
Build Docker / BuildImage (push) Successful in 33s
This commit is contained in:
parent
388afaea8c
commit
1b7a35e51f
BIN
stWDBRN.bsdesign
BIN
stWDBRN.bsdesign
Binary file not shown.
@ -66,6 +66,7 @@
|
|||||||
textStyle: { color: 'white' }
|
textStyle: { color: 'white' }
|
||||||
},
|
},
|
||||||
backgroundColor: '#212529',
|
backgroundColor: '#212529',
|
||||||
|
sliceVisibilityThreshold: 0.02
|
||||||
};
|
};
|
||||||
|
|
||||||
async function fetchData(apiUrl) {
|
async function fetchData(apiUrl) {
|
||||||
@ -128,6 +129,7 @@
|
|||||||
const table = document.createElement('table');
|
const table = document.createElement('table');
|
||||||
table.style.margin = 'auto';
|
table.style.margin = 'auto';
|
||||||
table.style.borderCollapse = 'collapse';
|
table.style.borderCollapse = 'collapse';
|
||||||
|
table.style.maxWidth = '100%';
|
||||||
|
|
||||||
const thead = document.createElement('thead');
|
const thead = document.createElement('thead');
|
||||||
const tbody = document.createElement('tbody');
|
const tbody = document.createElement('tbody');
|
||||||
|
Loading…
Reference in New Issue
Block a user