Tweak margins of result panel

This commit is contained in:
RunasSudo 2024-08-27 18:20:05 +10:00
parent 74ea5172c8
commit 4e4248a9ae
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
2 changed files with 4 additions and 4 deletions

View File

@ -155,7 +155,7 @@ function updateBilirubin() {
chart.data.datasets[2].data = [{x: d, y: bilirubin}];
chart.update();
resultDiv.className = 'border-l-4 ' + accent_colour + ' ' + background_colour + ' py-2 px-4';
resultDiv.className = 'border-l-4 ' + accent_colour + ' ' + background_colour + ' py-2 px-4 mt-4';
resultP.className = 'text-sm ' + text_colour;
resultP.innerHTML = result_text;
}

View File

@ -58,9 +58,9 @@
</div>
</div>
</div>
<div id="result" class="hidden">
<p></p>
</div>
</div>
<div id="result" class="hidden">
<p></p>
</div>
<div class="border-t border-gray-400 mt-4 pt-2">
<canvas id="bilirubinChart" width="672" height="336"></canvas>