mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 08:59:31 -05:00
ffa4949eaa
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> |
||
---|---|---|
.. | ||
security | ||
account.tmpl | ||
actions.tmpl | ||
appearance.tmpl | ||
applications.tmpl | ||
applications_oauth2.tmpl | ||
applications_oauth2_edit.tmpl | ||
applications_oauth2_edit_form.tmpl | ||
applications_oauth2_list.tmpl | ||
grants_oauth2.tmpl | ||
hook_new.tmpl | ||
hooks.tmpl | ||
keys.tmpl | ||
keys_gpg.tmpl | ||
keys_principal.tmpl | ||
keys_ssh.tmpl | ||
layout_footer.tmpl | ||
layout_head.tmpl | ||
navbar.tmpl | ||
organization.tmpl | ||
packages.tmpl | ||
packages_cleanup_rules_edit.tmpl | ||
packages_cleanup_rules_preview.tmpl | ||
profile.tmpl | ||
repos.tmpl | ||
runner_edit.tmpl |