File tree in PR shows only 1 file #10483

Closed
opened 2025-11-02 09:08:50 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @MartenH on GitHub (Mar 22, 2023).

Description

The file tree in a PR only shows the first file, not the entire tree. like so:
image

Url to try:
https://try.gitea.io/MartenH/Bar/pulls/1/files

I'm really suck at CSS but figured out if I add the the lines:

<style>
#diff-file-tree {
    height: unset;	
}
</style>

to:
$GITEA_CUSTOM/templates/custom/header.tmpl

it seems to work just fine.

Gitea Version

1.19.0

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

On try.gitea.io

Operating System

On try.gitea.io

How are you running Gitea?

On try.gitea.io

Database

None

Originally created by @MartenH on GitHub (Mar 22, 2023). ### Description The file tree in a PR only shows the first file, not the entire tree. like so: ![image](https://user-images.githubusercontent.com/1034863/227001516-cb96bdb0-c78a-4090-a799-ece43174ee24.png) Url to try: https://try.gitea.io/MartenH/Bar/pulls/1/files I'm really suck at CSS but figured out if I add the the lines: ``` <style> #diff-file-tree { height: unset; } </style> ``` to: $GITEA_CUSTOM/templates/custom/header.tmpl it seems to work just fine. ### Gitea Version 1.19.0 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version On try.gitea.io ### Operating System On try.gitea.io ### How are you running Gitea? On try.gitea.io ### Database None
GiteaMirror added the type/bug label 2025-11-02 09:08:50 -06:00
Author
Owner

@jolheiser commented on GitHub (Mar 22, 2023):

This should be fixed by https://github.com/go-gitea/gitea/pull/23616 for 1.19
And https://github.com/go-gitea/gitea/pull/23553 on main

Duplicate of https://github.com/go-gitea/gitea/issues/23593

@jolheiser commented on GitHub (Mar 22, 2023): This should be fixed by https://github.com/go-gitea/gitea/pull/23616 for `1.19` And https://github.com/go-gitea/gitea/pull/23553 on `main` Duplicate of https://github.com/go-gitea/gitea/issues/23593
Author
Owner

@wxiaoguang commented on GitHub (Mar 23, 2023):

You can get 1.19 latest from https://dl.gitea.com/gitea/1.19/ , or docker gitea:1.19-dev

These contain the fix.

@wxiaoguang commented on GitHub (Mar 23, 2023): You can get 1.19 latest from https://dl.gitea.com/gitea/1.19/ , or docker gitea:1.19-dev These contain the fix.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10483