Fixes layout of theme previews on admin page

Most of the CSS to do this was committed to the 1.7.x branch, but the logic seems to have been lost in the 1.8.x branch. Recommitting that logic.

Cheers,

Christian