Skip to content

Fix SVG height calculation in diff viewer#36748

Merged
wxiaoguang merged 1 commit intogo-gitea:mainfrom
POPSuL:fix/36742
Feb 25, 2026
Merged

Fix SVG height calculation in diff viewer#36748
wxiaoguang merged 1 commit intogo-gitea:mainfrom
POPSuL:fix/36742

Conversation

@POPSuL
Copy link
Copy Markdown
Contributor

@POPSuL POPSuL commented Feb 25, 2026

Fixes #36742

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 25, 2026
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Feb 25, 2026
@wxiaoguang wxiaoguang added this to the 1.26.0 milestone Feb 25, 2026
@wxiaoguang wxiaoguang added backport/v1.25 This PR should be backported to Gitea 1.25 type/bug labels Feb 25, 2026
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 25, 2026
@delvh delvh changed the title Fixed svgs incorrect height in diff viewer (#36742) Fix SVG height calculation in diff viewer Feb 25, 2026
@delvh delvh changed the title Fix SVG height calculation in diff viewer Fix SVG size calculation in diff viewer Feb 25, 2026
@delvh delvh changed the title Fix SVG size calculation in diff viewer Fix SVG height calculation in diff viewer Feb 25, 2026
@wxiaoguang wxiaoguang merged commit 577ed10 into go-gitea:main Feb 25, 2026
26 checks passed
GiteaBot pushed a commit to GiteaBot/gitea that referenced this pull request Feb 25, 2026
@GiteaBot GiteaBot added the backport/done All backports for this PR have been created label Feb 25, 2026
wxiaoguang pushed a commit that referenced this pull request Feb 25, 2026
Backport #36748 by POPSuL

Fixes #36742

Co-authored-by: Viktor Suprun <popsul1993@gmail.com>
zjjhot added a commit to zjjhot/gitea that referenced this pull request Feb 26, 2026
* giteaofficial/main:
  Fix release draft access check logic (go-gitea#36720)
  Change image transparency grid to CSS (go-gitea#36711)
  Avoid opening new tab when downloading actions logs (go-gitea#36740)
  Add validation constraints for repository creation fields (go-gitea#36671)
  Fix SVG height calculation in diff viewer (go-gitea#36748)
silverwind added a commit to silverwind/gitea that referenced this pull request Feb 26, 2026
* main: (24 commits)
  Instance-wide (global) info banner and maintenance mode (go-gitea#36571)
  Add created_by filter to SearchIssues (go-gitea#36670)
  Inline and lazy-load EasyMDE CSS, fix border colors (go-gitea#36714)
  Fix release draft access check logic (go-gitea#36720)
  Change image transparency grid to CSS (go-gitea#36711)
  Avoid opening new tab when downloading actions logs (go-gitea#36740)
  Add validation constraints for repository creation fields (go-gitea#36671)
  Fix SVG height calculation in diff viewer (go-gitea#36748)
  Fix path resolving (go-gitea#36734)
  [skip ci] Updated translations via Crowdin
  Fix track time list permission check (go-gitea#36662)
  Fix incorrect setting loading order (go-gitea#36735)
  Use case-insensitive matching for Git error "Not a valid object name" (go-gitea#36728)
  feat: Add workflow dependencies visualization (go-gitea#36248)
  Add keyboard shortcuts for repository file and code search (go-gitea#36416)
  Refactor text utility classes to Tailwind CSS (go-gitea#36703)
  Prevent redirect bypasses via backslash-encoded paths (go-gitea#36660)
  Fix force push time-line commit comments of pull request (go-gitea#36653)
  Fix get release draft permission check (go-gitea#36659)
  Move `X_FRAME_OPTIONS` setting from `cors` to `security` section (go-gitea#30256)
  ...

# Conflicts:
#	web_src/css/base.css
#	web_src/css/index.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/done All backports for this PR have been created backport/v1.25 This PR should be backported to Gitea 1.25 lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/frontend type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect svg size in diff viewer

4 participants