The leaders moved seven points clear of Aberdeen with a game in hand following a 1-0 win at Pittodrie on Wednesday night.