Events for changing styles
White space fix for preview tables