Fixed "edit galleries" styles

Resolves #6