codeit icon indicating copy to clipboard operation
codeit copied to clipboard

Fix line wrapping

Open ishiharaf opened this issue 1 year ago β€’ 1 comments

Resolves https://github.com/codeitcodes/codeit/issues/182

Two lines on full.css were overwriting the CSS on the head element from codeit.js. This PR removes them and adds line wrapping to the editor.

I mainly use this on mobile to edit notes, but I can see how having line wrapping on all the time can be annoying sometimes. I think it'd work better if we had a way to toggle line wrapping on and off by changing white-space: pre-wrap to white-space: pre and vice-versa. Feel free to let me know what you think πŸ€”

Screenshots

Before (Desktop & Mobile): γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2024-12-04 052458 Screen Shot 2024-12-04 at 05 23 50

After (Desktop & Mobile): γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2024-12-04 052528 Screen Shot 2024-12-04 at 05 24 06

ishiharaf avatar Dec 03 '24 20:12 ishiharaf

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated (UTC)
codeit βœ… Ready (Inspect) Visit Preview Dec 3, 2024 8:54pm

vercel[bot] avatar Dec 03 '24 20:12 vercel[bot]