Move styles from discover to doc viewer
remove obsolete mapping attr