formatting in teacher and overview components