You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
10 months ago
..
member Improve flex list UI (#26970) 10 months ago
projects Following up fixes for "Fix inconsistent user profile layout across tabs" (#25739) 1 year ago
settings Extract common code to new template (#26933) 10 months ago
team Improve flex list UI (#26970) 10 months ago
create.tmpl Fix incorrect "tabindex" attributes (#26733) 10 months ago
header.tmpl Use template context function for avatar rendering (#26385) 11 months ago
home.tmpl Simplify helper CSS classes and avoid abuse (#26728) 10 months ago
menu.tmpl Fix display problems of members and teams unit (#26363) 11 months ago