Shrinking navigation area gaps

Is there a way to make the area in red smaller?