We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb27c43 commit 0f0db6aCopy full SHA for 0f0db6a
routers/web/repo/issue_content_history.go
@@ -156,7 +156,7 @@ func GetContentHistoryDetail(ctx *context.Context) {
156
157
// use chroma to render the diff html
158
diffHTMLBuf := bytes.Buffer{}
159
- diffHTMLBuf.WriteString("<pre class='chroma' style='tab-size: 4'>")
+ diffHTMLBuf.WriteString("<pre class='chroma'>")
160
for _, it := range diff {
161
if it.Type == diffmatchpatch.DiffInsert {
162
diffHTMLBuf.WriteString("<span class='gi'>")
web_src/css/repo.css
@@ -2322,6 +2322,7 @@ tbody.commit-list {
2322
min-height: 12em;
2323
max-height: calc(100vh - 10.5rem);
2324
overflow-y: auto;
2325
+ tab-size: 4;
2326
}
2327
2328
.comment-diff-data pre {
0 commit comments