forgejo/templates
wxiaoguang ffa4949eaa
Improve flex list UI (#26970)
1. There is already `gt-ac`, so no need to introduce `flex-item-center`
2. The `flex-item-baseline` and `.flex-item-icon svg { margin-top: 1px
}` seem to be a tricky patch, they don't resolve the root problem, and
still cause misalignment in some cases.
* The root problem is: the "icon" needs to align with the sibling
"title"
    * So, make the "icon" and the "title" both have the same height 
3. `flex-text-inline` could only be used if the element is really
"inline", otherwise its `vertical-align` would make the box size change.
In most cases, `flex-text-block` is good enough.


![image](https://github.com/go-gitea/gitea/assets/2114189/1b7acfc2-b1c7-4e9c-a983-2fa932026479)

---------

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-09-08 13:57:18 +00:00
..
admin Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base update footer link to new landing page (#26916) 2023-09-05 16:44:07 +00:00
code Refactor some CSS styles and simplify code (#26771) 2023-08-28 22:14:51 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest Remove CSS has selector and improve various styles (#26891) 2023-09-04 18:22:46 +08:00
explore Improve flex list UI (#26970) 2023-09-08 13:57:18 +00:00
mail Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
org Improve flex list UI (#26970) 2023-09-08 13:57:18 +00:00
package Minor dashboard tweaks, fix flex-list margins (#26829) 2023-08-31 21:28:45 +00:00
projects Refactor some CSS styles and simplify code (#26771) 2023-08-28 22:14:51 +08:00
repo Improve flex list UI (#26970) 2023-09-08 13:57:18 +00:00
shared Improve flex list UI (#26970) 2023-09-08 13:57:18 +00:00
status Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
swagger Refactor secrets modification logic (#26873) 2023-09-05 15:21:02 +00:00
user Improve flex list UI (#26970) 2023-09-08 13:57:18 +00:00
webhook Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2023-06-08 12:23:39 +08:00