-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Wrapping long lines in code views #1827
Labels
topic/ui
Change the appearance of the Gitea UI
type/enhancement
An improvement of existing functionality
Milestone
Comments
@silverwind please send a PR. |
lunny
added
topic/ui
Change the appearance of the Gitea UI
type/enhancement
An improvement of existing functionality
labels
May 29, 2017
1 task
fixed by #1845 |
Actually, this one isn't fixed yet. Can you reopen please? |
lafriks
pushed a commit
to lafriks-fork/gitea
that referenced
this issue
Oct 26, 2017
lunny
pushed a commit
that referenced
this issue
Oct 27, 2017
* Add wrapping to long diff lines to fix #1827 * Fix css class and make changes to source (less) files * Fix wrong space indentation * Fix indentation inconsistencies and remove very old WebKit workaround
vdbt
pushed a commit
to vdbt/gitea
that referenced
this issue
Oct 27, 2017
* Add wrapping to long diff lines to fix go-gitea#1827 * Fix css class and make changes to source (less) files * Fix wrong space indentation * Fix indentation inconsistencies and remove very old WebKit workaround
would be great if this could be enabled in normal code views as well (maybe via toggle or config setting). currently working with |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
topic/ui
Change the appearance of the Gitea UI
type/enhancement
An improvement of existing functionality
Currently, Gitea does not wrap long lines of code, making it harder to look at code and diffs that contains lines that extend beyond the screen width.
Is there a general interest in having long lines automatically wrapped? It's a simple CSS tweak (similar to what I've done here for GitHub):
Before:
After:
This might not work too well on small screens, where I think it might be better to not wrap those lines (horizontal scrolling is easier on touch).
The text was updated successfully, but these errors were encountered: