fixed #384: small css fixes, removed special preview for pdf