]> source.dussan.org Git - gitea.git/commit
Make branch icon stand out more (#20726)
authorGusted <williamzijl7@hotmail.com>
Wed, 10 Aug 2022 19:23:11 +0000 (19:23 +0000)
committerGitHub <noreply@github.com>
Wed, 10 Aug 2022 19:23:11 +0000 (15:23 -0400)
commitc315868b9733ad839ede9d75763cd82874ee5593
tree519072f5832fbc841bb0a5d44fbcef977bae6ef9
parent3d76d6034e293def68a0adcf5a68b3398c4ad12a
Make branch icon stand out more (#20726)

* Make branch icon stand out more

- Currently the branch icon is "squashed" between the two branch names
and feels a bit "amateur-ish" to my feeling(relative to other UI
elements).
- This patch tries to improve that by making the icon bigger
and by adding some margin to not have a "squashed" icon.
- This patch also includes a "fix", for some reason this symbol is not
centering correctly within the span(or without for that matter), so
simply manually patch this by adding `bottom: 1.px`.

* Use svg

* Apply suggestion

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
templates/shared/issuelist.tmpl
web_src/less/shared/issuelist.less