0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-24 00:03:11 -05:00
forgejo/templates/repo
silverwind 9511485142
Apply compact padding to small buttons with svg icons (#29471)
The buttons on the repo release tab were larger in height than on other
tabs because one of them contained the RSS icon which stretched the
button height by 3px. Workaround this problem by applying the "compact"
padding to any such button. They are within 0.4px in height now to
non-icon buttons.

Before:

<img width="406" alt="Screenshot 2024-02-28 at 15 30 23"
src="https://github.com/go-gitea/gitea/assets/115237/805bb93a-6fe4-40a0-82d1-03001bee8ecf">

After:

<img width="407" alt="Screenshot 2024-02-28 at 15 38 43"
src="https://github.com/go-gitea/gitea/assets/115237/27707588-890f-4852-ab08-105a57eda880">

For comparison, button on issue tab:

<img width="452" alt="Screenshot 2024-02-28 at 15 31 46"
src="https://github.com/go-gitea/gitea/assets/115237/74ac13d5-d016-49ba-9dd9-40ed32a748e9">

(cherry picked from commit 850fc2516e67049ec195c72d861896b275bd09d1)
2024-03-06 12:10:44 +08:00
..
actions Merge pull request '[UI] Actions: Link to Workflow in View' (#1866) from n0toose/forgejo:forgejo-add-workflow-link into forgejo 2024-02-28 17:28:16 +00:00
branch
cite
code Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-26 22:30:27 +01:00
diff Use tailwind instead of gt-[wh]- helper classes (#29423) 2024-03-06 12:10:43 +08:00
editor enforce maxlength in frontend (#29389) 2024-02-26 22:30:27 +01:00
find
graph
issue Use tailwind instead of gt-[wh]- helper classes (#29423) 2024-03-06 12:10:43 +08:00
migrate [I18N] Improve English strings & consistency 2024-02-27 17:42:59 +00:00
projects
pulls Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
release A release title should always be a link 2024-03-04 08:29:11 +01:00
settings [I18N] Improve English strings & consistency 2024-02-27 17:42:59 +00:00
tag
wiki Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-26 22:30:27 +01:00
activity.tmpl Implement recent commits graph (#29210) 2024-02-26 22:30:26 +01:00
admin_flags.tmpl
blame.tmpl [FEAT] Restrict file size of blame operation 2024-02-19 16:39:39 +01:00
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl Fix URL calculation in clone input box (#29470) 2024-03-06 12:10:44 +08:00
code_frequency.tmpl Implement code frequency graph (#29191) 2024-02-26 22:30:26 +01:00
commit_load_branches_and_tags.tmpl
commit_page.tmpl Refactor Safe modifier (#29392) 2024-02-26 22:30:27 +01:00
commit_status.tmpl
commit_statuses.tmpl Show commit status for releases (#29149) 2024-02-19 22:58:33 +01:00
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl
commits_table.tmpl
contributors.tmpl Deduplicate translations for contributors graph (#29256) 2024-02-19 22:58:33 +01:00
create.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
create_helper.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-26 22:30:27 +01:00
empty.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
file_info.tmpl
flags.tmpl
forks.tmpl
graph.tmpl
header.tmpl Make settings tab not active when on repository units tab 2024-02-28 21:17:53 -06:00
header_fork.tmpl Fix the Fork button in repo headers 2024-02-27 18:36:37 +00:00
home.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
icon.tmpl Tweak repo header (#29134) 2024-02-17 23:24:30 +01:00
latest_commit.tmpl
navbar.tmpl Implement recent commits graph (#29210) 2024-02-26 22:30:26 +01:00
packages.tmpl
pulse.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
recent_commits.tmpl Implement recent commits graph (#29210) 2024-02-26 22:30:26 +01:00
release_tag_header.tmpl Apply compact padding to small buttons with svg icons (#29471) 2024-03-06 12:10:44 +08:00
search.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-26 22:30:27 +01:00
search_name.tmpl
shabox_badge.tmpl
star_unstar.tmpl
sub_menu.tmpl
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
view_file.tmpl [FEAT] Show follow symlink button 2024-03-02 17:58:09 +01:00
view_list.tmpl
watch_unwatch.tmpl
watchers.tmpl