]> source.dussan.org Git - gitea.git/commit
Improve context popup rendering (#30824) (#30829)
authorGiteabot <teabot@gitea.io>
Thu, 2 May 2024 13:47:32 +0000 (21:47 +0800)
committerGitHub <noreply@github.com>
Thu, 2 May 2024 13:47:32 +0000 (13:47 +0000)
commit3f0dc694009b872cbcba2900615e02c7ca0615f3
tree3e74452b4146f3b0b6fe688ddb1619bc2d7da422
parent606b12caf04b91a5fa57f1d8ab6f216ad1a3eb14
Improve context popup rendering (#30824) (#30829)

Backport #30824 by @silverwind

Before, lot of empty space when no labels or body:

<img width="281" alt="Screenshot 2024-05-02 at 13 51 29"
src="https://github.com/go-gitea/gitea/assets/115237/8a980ccd-d53c-43a3-a059-dc8c614621e1">

After, empty space collapsed:

<img width="306" alt="Screenshot 2024-05-02 at 13 51 16"
src="https://github.com/go-gitea/gitea/assets/115237/8d9c154d-5de1-43d0-8536-afd9194d99b3">

All `<p>` (unsuitable) and `<small>` (discouraged in favor of css) tags
are removed.

Co-authored-by: silverwind <me@silverwind.io>
web_src/js/components/.eslintrc.yaml
web_src/js/components/ContextPopup.vue