1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00
gitea/public
silverwind 12ee544411 Fix wrapping long code lines in UI (#5927)
Wrapping was initially added in https://github.com/go-gitea/gitea/pull/2789
but it is currently disabled because the rule that applies wrapping to
the wrap class did not have enough CSS specificity.

Resolved the issue by using a general selector that matches all code
boxes. The previous wrap class was removed because it had only been
inconsistenly applied to various code boxes and because I found no easy
way to add classes to code boxes rendered in Markdown.

Also removed a seemingly useless :before on code view and added padding
to restore the spacing.
2019-02-02 16:58:28 +00:00
..
css Fix wrapping long code lines in UI (#5927) 2019-02-02 16:58:28 +00:00
img Discord Oauth2 support (#4476) 2019-01-13 14:06:22 -05:00
js Don't list an issue on its own dependency list UI. (#5658) 2019-01-15 16:31:35 -05:00
less Fix wrapping long code lines in UI (#5927) 2019-02-02 16:58:28 +00:00
vendor Refactor heatmap to vue component (#5401) 2018-11-27 10:36:54 +01:00