79386354

Date: 2025-01-25 07:51:50
Score: 1
Natty:
Report link

I've been struggling with the exact same issue for a while, and I just figured out how to solve it.

Setting the height style attribute increases the size of the container but aligns the text to the centre.

However, by instead setting both maxHeight and minHeight I was able to achieve the desired effect. A text box of a fixed size that aligns text to the top and allows for multiple lines.

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Prasi