diff options
author | Gusted <williamzijl7@hotmail.com> | 2022-08-10 19:23:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 15:23:11 -0400 |
commit | c315868b9733ad839ede9d75763cd82874ee5593 (patch) | |
tree | 519072f5832fbc841bb0a5d44fbcef977bae6ef9 /web_src | |
parent | 3d76d6034e293def68a0adcf5a68b3398c4ad12a (diff) | |
download | gitea-c315868b9733ad839ede9d75763cd82874ee5593.tar.gz gitea-c315868b9733ad839ede9d75763cd82874ee5593.zip |
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>
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/less/shared/issuelist.less | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/less/shared/issuelist.less b/web_src/less/shared/issuelist.less index a0331a1cbe..2dffe19909 100644 --- a/web_src/less/shared/issuelist.less +++ b/web_src/less/shared/issuelist.less @@ -122,7 +122,7 @@ .branches { display: inline-flex; - padding: 0 6px; + padding: 0 4px; .branch { background-color: var(--color-secondary); |