While the Democratic Party maintained a voter registration edge over Republicans, that edge has shrunk some in recent years.