Update styling

Better text editor resize handling