0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-15 21:28:45 +01:00
gitea/templates/repo
silverwind 850fc2516e
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">
2024-02-28 21:26:12 +01:00
..
actions
branch
cite
code Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-25 14:02:20 +00:00
diff Use tailwind instead of gt-[wh]- helper classes (#29423) 2024-02-27 14:31:41 +00:00
editor Fix incorrect tree path value for patch editor (#29377) 2024-02-26 09:05:22 +00:00
find
graph
issue Use tailwind instead of gt-[wh]- helper classes (#29423) 2024-02-27 14:31:41 +00:00
migrate Refactor Safe modifier (#29392) 2024-02-25 10:45:56 +00:00
projects
pulls
release
settings Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-25 14:02:20 +00:00
tag
wiki Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-25 14:02:20 +00:00
activity.tmpl Implement recent commits graph (#29210) 2024-02-24 10:22:51 +00:00
blame.tmpl
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl Fix URL calculation in clone input box (#29470) 2024-02-28 15:04:04 +00:00
code_frequency.tmpl
commit_load_branches_and_tags.tmpl
commit_page.tmpl Refactor Safe modifier (#29392) 2024-02-25 10:45:56 +00:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl
commits_table.tmpl
contributors.tmpl
create.tmpl
create_helper.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-25 14:02:20 +00:00
empty.tmpl
file_info.tmpl
forks.tmpl
graph.tmpl
header.tmpl
home.tmpl Move citiation button to proper place (#29374) 2024-02-25 02:13:04 +02:00
icon.tmpl
latest_commit.tmpl
navbar.tmpl Implement recent commits graph (#29210) 2024-02-24 10:22:51 +00:00
packages.tmpl
pulse.tmpl
recent_commits.tmpl Implement recent commits graph (#29210) 2024-02-24 10:22:51 +00:00
release_tag_header.tmpl Apply compact padding to small buttons with svg icons (#29471) 2024-02-28 21:26:12 +01:00
search.tmpl Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-25 14:02:20 +00:00
search_name.tmpl
shabox_badge.tmpl
star_unstar.tmpl
sub_menu.tmpl
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl
view_file.tmpl
view_list.tmpl
watch_unwatch.tmpl
watchers.tmpl