diff options
author | zeripath <art27@cantab.net> | 2023-01-13 05:50:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-13 13:50:32 +0800 |
commit | c0da3638e71eb9a8a38b89fbfa78603064bf8799 (patch) | |
tree | 527feb60f5d991cd67abe25418d94b3d94a99f6b /web_src/less/_repository.less | |
parent | 99cf0d394ea1f949b72aef2c25e74e67a4ca1791 (diff) | |
download | gitea-c0da3638e71eb9a8a38b89fbfa78603064bf8799.tar.gz gitea-c0da3638e71eb9a8a38b89fbfa78603064bf8799.zip |
Restore function to "Show more" buttons (#22399)
There was a serious regression in #21012 which broke the Show More
button on the diff page, and the show more button was also broken on the
file tree too.
This PR fixes this by resetting the pageData.diffFiles as the vue
watched value and reattachs a function to the show more button outside
of the file tree view.
Fix #22380
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'web_src/less/_repository.less')
-rw-r--r-- | web_src/less/_repository.less | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 3ceb9e30c3..646cf4e60e 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -1667,6 +1667,9 @@ background-color: var(--color-teal); } } + .button { + padding: 8px 12px; + } } .diff-box .header:not(.resolved-placeholder) { |