mirror of https://github.com/gogits/gogs.git
Browse Source
In code viewer, for some reason code container's left padding was implemented not with padding, but with ```:before{content:' '}```. Adding a space character at the beginning of each line is harmful, because it's an actual space character and it messes up indentation. This doesn't matter in space-indented files, but it matters in tab-indented ones (the first tab appears shorter than the other tabs, because there's already a space in front of it), and especially in files with mixed tabs and spaces (space-indented lines get indented one space further than tab-indented ones). This fixes it.pull/4126/head
Jaka Jaksic
8 years ago
committed by
GitHub
1 changed files with 1 additions and 9 deletions
Loading…
Reference in new issue