Refactor styling for widget page