Creating two <p> tags to store text:
<p v-if="my_property <= 0" class="text-green-500 text-lg font-bold">{{Math.abs(my_value)}}%</p>
<p v-else class="text-red-500 text-lg font-bold">{{my_value}}%</p>
<div class="inline-block align-bottom bg-yellow-500 align-text-bottom">
<p class="text-gray-500 text-sm ml-1 inline-block align-text-bottom align-bottom">tsa</p>
</div>
Struggling with the alignment of the last <p> tag compared to the first. Current alignment issue depicted in the image below:
https://i.stack.imgur.com/Tr6Il.png
Desired alignment of the "tsa" text shown here:
https://i.stack.imgur.com/GqzTn.png
Suggestions on adjustments needed for current code set up?
Note: Highlighted yellow <div> to emphasize misalignment of text.