This happens if the batter is very thin and not well fermented. Always be cautious while adding water when making the batter. The thin watery batter will not rise and the idlis will end up hard and flat. So do not add too much water while grinding.