This is the normal functioning if the row height was changed. To restore the automatic height adjustment: Double click on the row header at the intersection with the line below (the cursor turns into a double arrow).