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,9 +58,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="result" class="hidden">
|
</div>
|
||||||
<p></p>
|
<div id="result" class="hidden">
|
||||||
</div>
|
<p></p>
|
||||||
</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>
|
||||||
|
Loading…
Reference in New Issue
Block a user