Figma Text align bug

in this figma file it seems like the two texts in the first line are behaving the opposite way - when you do align top it actually align bottom and vice versa. what am i missing?

when i created a new text field (the second row) it seems to be working fine.

this is a loom video:Loom | Free Screen & Video Recording Software | Loom

this is the figma file:

Increase the height of the text box and you will see that everything works as expected.

thanks. however it seems like there is a margin in the top of the text that i still don’t understand why it exist.

That’s because that’s the way the font is designed. Some details you can find here: