go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.95k stars 5.48k forks source link

Tables with large images cause overflow in issue templates #31709

Open bartvdbraak opened 3 months ago

bartvdbraak commented 3 months ago

Description

  1. Create an issue using an issue template, e.g. https://demo.gitea.com/bartvdbraak/blender/issues/new?template=.gitea%2fissue_template%2ftodo.yaml
  2. Embed an tables with large images in their cells, e.g.
    |   |   |   |   |   |
    |---|---|---|---|---|
    | ![image.png](https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Logo_Blender.svg/2560px-Logo_Blender.svg.png)  |   |   |   | ![image.png](https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Logo_Blender.svg/2560px-Logo_Blender.svg.png)  |
  3. Look at preview overflowing

Screenshots

Screenshot_20240726_182023

Gitea Version

Version: 1.23.0+dev-339-gb4ccef3dee

Can you reproduce the bug on the Gitea demo site?

Yes

Operating System

Linux

Browser Version

Firefox 127.0 (64-bit)

silverwind commented 1 month ago

Could someone post a reproduction to https://demo.gitea.com/?

Nevermind, I see it only affects the preview.