Fix popup css to fit more content and style code better