mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-25 11:33:11 +00:00
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.

---------
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
|
||
|---|---|---|
| .. | ||
| webhook | ||
| actions.tmpl | ||
| branches.tmpl | ||
| collaboration.tmpl | ||
| deploy_keys.tmpl | ||
| githook_edit.tmpl | ||
| githooks.tmpl | ||
| layout_footer.tmpl | ||
| layout_head.tmpl | ||
| lfs.tmpl | ||
| lfs_file.tmpl | ||
| lfs_file_find.tmpl | ||
| lfs_locks.tmpl | ||
| lfs_pointers.tmpl | ||
| nav.tmpl | ||
| navbar.tmpl | ||
| options.tmpl | ||
| protected_branch.tmpl | ||
| push_mirror_sync_modal.tmpl | ||
| runner_edit.tmpl | ||
| secrets.tmpl | ||
| tags.tmpl | ||