Tweak margins of result panel
This commit is contained in:
parent
74ea5172c8
commit
4e4248a9ae
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user