forgejo/web_src/css
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
..
chroma Fix dark theme highlight for "NameNamespace" (#26519) 2023-08-16 00:10:10 +02:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
features Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
markup Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
modules Remove CSS has selector and improve various styles (#26891) 2023-09-04 18:22:46 +08:00
repo Remove polluted .ui.right (#26825) 2023-08-31 02:29:59 +00:00
shared Improve flex list UI (#26970) 2023-09-08 13:57:18 +00:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Replace box-shadow for floating dropdown as well (#26581) 2023-08-21 12:49:49 +02:00
actions.css Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
admin.css User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css Add "dir=auto" for input/textarea elements by default (#26735) 2023-09-07 08:00:20 +00:00
dashboard.css Minor dashboard tweaks, fix flex-list margins (#26829) 2023-08-31 21:28:45 +00:00
explore.css Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
font_i18n.css Fix @font-face overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
helpers.css Remove some transition related code (#26755) 2023-08-28 01:26:23 +00:00
home.css avoid hard-coding height in language dropdown menu (#25986) 2023-07-19 23:30:57 +02:00
index.css Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
install.css Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
org.css Remove incorrect CSS helper classes (#26712) 2023-08-25 06:47:59 +00:00
repo.css Fix scoped label layout (#26932) 2023-09-06 12:22:38 +00:00
review.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
user.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00