update css of fp for tab & phone