Scratchpad styling issues fixed