[Bug]: text line-height off in Firefox when exported
### What happened?

![Image](https://github.com/user-attachments/assets/3c11a07b-346e-498a-ba87-695d0f59ce53)

### How can we reproduce the bug?

_No response_

### What browsers are you seeing the problem on?

_No response_

### Where did this happen?

The developer package

### Contact Details

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct