Skip to content

Commit

Permalink
Fix h3 and pre size
Browse files Browse the repository at this point in the history
  • Loading branch information
TomoBossi committed Aug 12, 2024
1 parent 5170556 commit 12aa04e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,15 @@ function setup() {
logsTitle.style.fontFamily = 'monospace';
logsTitle.style.color = `rgb(${titleColor},${titleColor},${titleColor})`;
logsTitle.style.position = 'absolute';
logsTitle.style.top = `${height-20*s}px`;
logsTitle.style.top = `${height-21.75*s}px`;
logsTitle.style.left = `${tablePaddingLeft}px`;
logsTitle.style.fontSize = `${4.5*s}px`;
logsText.style.fontFamily = 'monospace';
logsText.style.color = `rgb(${titleColor},${titleColor},${titleColor})`;
logsText.style.position = 'absolute';
logsText.style.top = `${height-12*s}px`;
logsText.style.left = `${tablePaddingLeft-0.5*s}px`;
logsText.style.fontSize = `${3.5*s}px`;
}

function draw() {
Expand Down

0 comments on commit 12aa04e

Please sign in to comment.