Fix text viewer styles