layout: Implement `min-height` and `max-height`.

r? @larsbergstrom