update white style and wrap mask content