mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 13:13:55 +01:00
Center all numeric cell in table
This commit is contained in:
parent
1e744ba58a
commit
71ec661006
@ -375,7 +375,7 @@ draft: false
|
|||||||
$("<td/>").text(String.raw`${LatexInline[0]}${ex[0].toLaTeX()} \rightarrow ${ex[1].toLaTeX()} (${ex[2].LaTeX}) ${LatexInline[1]}`).appendTo(tr)
|
$("<td/>").text(String.raw`${LatexInline[0]}${ex[0].toLaTeX()} \rightarrow ${ex[1].toLaTeX()} (${ex[2].LaTeX}) ${LatexInline[1]}`).appendTo(tr)
|
||||||
var entries = Array.from(exdat.entries())
|
var entries = Array.from(exdat.entries())
|
||||||
for (const method of sortedMethods) {
|
for (const method of sortedMethods) {
|
||||||
td = $("<td/>")
|
td = $("<td/>").addClass("NumberCell")
|
||||||
kv = entries.find(x => {
|
kv = entries.find(x => {
|
||||||
return JSON.stringify(method) == x[0]
|
return JSON.stringify(method) == x[0]
|
||||||
})
|
})
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
table.datatable > tbody > tr > td {
|
table.datatable > tbody > tr > td {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
td.NumberCell {
|
||||||
|
text-align: center;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user