Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix line wrapping #296

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix line wrapping #296

wants to merge 1 commit into from

Conversation

ishiharaf
Copy link

Resolves #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

Copy link

vercel bot commented Dec 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Line wrapping
1 participant