]> source.dussan.org Git - gitea.git/commit
Improve context popup rendering (#30824)
authorsilverwind <me@silverwind.io>
Thu, 2 May 2024 13:42:33 +0000 (15:42 +0200)
committerGitHub <noreply@github.com>
Thu, 2 May 2024 13:42:33 +0000 (15:42 +0200)
commitb1bb3642e52ae1401bb06de130b17db48cff379e
tree29f2ee02a5f92a84199226c16cc42603e4b43083
parenteb8bb82e584f0d0cb91ebc0e37e40c53da729ce8
Improve context popup rendering (#30824)

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.
web_src/js/components/.eslintrc.yaml
web_src/js/components/ContextPopup.vue