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.data.datasets[2].data = [{x: d, y: bilirubin}];
chart.update(); 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.className = 'text-sm ' + text_colour;
resultP.innerHTML = result_text; resultP.innerHTML = result_text;
} }

View File

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