Fix off_row css logic