Improve height-filling directive