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>
11 months ago
..
chroma Fix dark theme highlight for "NameNamespace" (#26519) 11 months ago
codemirror Remove EasyMDE focus outline on text (#25328) 1 year ago
editor Unify `border-radius` behavior (#26770) 11 months ago
features Refactor "shortsha" (#26877) 11 months ago
markup Unify `border-radius` behavior (#26770) 11 months ago
modules Remove CSS `has` selector and improve various styles (#26891) 11 months ago
repo Remove polluted `.ui.right` (#26825) 11 months ago
shared Improve flex list UI (#26970) 11 months ago
standalone Add toasts to UI (#25449) 1 year ago
themes Replace box-shadow for `floating` dropdown as well (#26581) 11 months ago
actions.css Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 12 months ago
admin.css User details page (#26713) 11 months ago
base.css Add "dir=auto" for input/textarea elements by default (#26735) 11 months ago
dashboard.css Minor dashboard tweaks, fix flex-list margins (#26829) 11 months ago
explore.css Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 12 months ago
font_i18n.css Fix `@font-face` overrides (#24855) 1 year ago
form.css Unify `border-radius` behavior (#26770) 11 months ago
helpers.css Remove some transition related code (#26755) 11 months ago
home.css avoid hard-coding height in language dropdown menu (#25986) 1 year ago
index.css Refactor project templates (#26448) 11 months ago
install.css Make "install page" respect environment config (#25648) 1 year ago
org.css Remove incorrect CSS helper classes (#26712) 11 months ago
repo.css Fix scoped label layout (#26932) 11 months ago
review.css Unify `border-radius` behavior (#26770) 11 months ago
user.css Unify `border-radius` behavior (#26770) 11 months ago