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.
gitea/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>
1 year ago
..
admin Extract common code to new template (#26933) 1 year ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base update footer link to new landing page (#26916) 1 year ago
code Refactor some CSS styles and simplify code (#26771) 1 year ago
custom
devtest Remove CSS `has` selector and improve various styles (#26891) 1 year ago
explore Improve flex list UI (#26970) 1 year ago
mail Update team invitation email link (#26550) 1 year ago
org Improve flex list UI (#26970) 1 year ago
package Minor dashboard tweaks, fix flex-list margins (#26829) 1 year ago
projects Refactor some CSS styles and simplify code (#26771) 1 year ago
repo Improve flex list UI (#26970) 1 year ago
shared Improve flex list UI (#26970) 1 year ago
status Replace fomantic divider module with our own (#25539) 2 years ago
swagger Refactor secrets modification logic (#26873) 1 year ago
user Improve flex list UI (#26970) 1 year ago
webhook Extract common code to new template (#26933) 1 year ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2 years ago
install.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 1 year ago
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2 years ago