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/repo
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
..
actions Improve flex list UI (#26970) 1 year ago
branch Refactor some CSS styles and simplify code (#26771) 1 year ago
cite Button and color enhancements (#24989) 2 years ago
code Fix template bugs in recently_pushed_new_branches.tmpl (#26744) 1 year ago
diff Remove "TODO" tasks from CSS file (#26835) 1 year ago
editor Fix incorrect "tabindex" attributes (#26733) 1 year ago
find Refactor hiding-methods, remove jQuery show/hide, remove `.hide` class, remove inline style=display:none (#22950) 2 years ago
graph Refactor "shortsha" (#26877) 1 year ago
issue Enable djlint H008 and fix issues (#26869) 1 year ago
migrate Use docs.gitea.com instead of docs.gitea.io (#26739) 1 year ago
projects Remove polluted `.ui.right` (#26825) 1 year ago
pulls Use template context function for avatar rendering (#26385) 2 years ago
release Remove polluted `.ui.right` (#26825) 1 year ago
settings Improve flex list UI (#26970) 1 year ago
tag Enable H014 and H023 djlint rules (#25786) 2 years ago
wiki Remove polluted `.ui.right` (#26825) 1 year ago
activity.tmpl Replace fomantic divider module with our own (#25539) 2 years ago
blame.tmpl Add template linting via djlint (#25212) 2 years ago
branch_dropdown.tmpl Add default label in branch select list (#26697) 1 year ago
clone_buttons.tmpl Remove some transition related code (#26755) 1 year ago
clone_script.tmpl Rework button coloring, add focus and active colors (#24507) 2 years ago
commit_load_branches_and_tags.tmpl Remove commit load branches and tags in wiki repo (#26304) 2 years ago
commit_page.tmpl More fixes for the "commit-body" (#26898) 1 year ago
commit_status.tmpl Remove commit status running and warning from the dashboard repo list (#26036) 2 years ago
commit_statuses.tmpl Button and color enhancements (#24989) 2 years ago
commits.tmpl Fix some UI alignments (#25277) 2 years ago
commits_list.tmpl More fixes for the "commit-body" (#26898) 1 year ago
commits_list_small.tmpl Remove polluted `.ui.right` (#26825) 1 year ago
commits_table.tmpl Remove ref name in PR commits page (#25876) 1 year ago
create.tmpl Fix incorrect "tabindex" attributes (#26733) 1 year ago
create_helper.tmpl Add templates to customize text when creating and migrating repositories 2 years ago
empty.tmpl Repository Archived text title center align (#25767) 2 years ago
file_info.tmpl Show image size on view page (#25884) 2 years ago
forks.tmpl Use template context function for avatar rendering (#26385) 2 years ago
graph.tmpl Replace remaining fontawesome dropdown icons with SVG (#24455) 2 years ago
header.tmpl Remove unnecessary template helper repoAvatar (#26387) 2 years ago
home.tmpl Render code blocks in repo description (#26830) 1 year ago
icon.tmpl Refactor some CSS styles and simplify code (#26771) 1 year ago
packages.tmpl Fix inconsistent user profile layout across tabs (#25625) 2 years ago
release_tag_header.tmpl Remove polluted `.ui.right` (#26825) 1 year ago
search.tmpl Refactor some CSS styles and simplify code (#26771) 1 year ago
search_name.tmpl Clean template/helper.go (#23922) 2 years ago
shabox_badge.tmpl Use template context function for avatar rendering (#26385) 2 years ago
sub_menu.tmpl Improve repo sub menu (#26531) 1 year ago
unicode_escape_prompt.tmpl Make confusable character warning less jarring (#25069) 2 years ago
upload.tmpl Refactor `i18n` to `locale` (#20153) 3 years ago
user_cards.tmpl Use template context function for avatar rendering (#26385) 2 years ago
view_file.tmpl Remove CSS `has` selector and improve various styles (#26891) 1 year ago
view_list.tmpl Refactor "shortsha" (#26877) 1 year ago
watchers.tmpl Fix user-cards format (#24428) 2 years ago