Identical recreation doesn't share dimensions of the original?

I’m doing a web design ZTM course. I’m trying to recreate user flow assets. I created a recreation of the original asset and checked every single property and css code, but my recreation has 25 pixels smaller height.

It isn’t a concern for this case, but it might be in future if I stumble on the same problem…
Anybody know the answer?