forgejo/templates
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
..
admin Use tailwind instead of gt-[wh]- helper classes (#29423) 2024-03-06 12:10:43 +08:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Use tailwind instead of gt-[wh]- helper classes (#29423) 2024-03-06 12:10:43 +08:00
code Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-26 22:30:27 +01:00
custom [FEAT] Repository flags 2024-02-05 16:09:42 +01:00
devtest Use tailwind instead of gt-[wh]- helper classes (#29423) 2024-03-06 12:10:43 +08:00
explore Only use supported sort order for "explore/users" page (#29430) 2024-03-06 12:10:43 +08:00
mail Fix mail template error (#29410) 2024-03-06 12:10:43 +08:00
org Refactor Safe modifier (#29392) 2024-02-26 22:30:27 +01:00
package Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-26 22:30:27 +01:00
projects Use full width for project boards (#28225) 2023-11-27 17:43:52 +00:00
repo Apply compact padding to small buttons with svg icons (#29471) 2024-03-06 12:10:44 +08:00
shared templates: Safe & Escape no longer exist 2024-02-26 22:30:27 +01:00
status Use tailwind instead of gt-[wh]- helper classes (#29423) 2024-03-06 12:10:43 +08:00
swagger [BUG] Fix header name in swagger response 2024-02-29 14:08:10 +01:00
user Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-26 22:30:27 +01:00
webhook Change webhook-type in create-view (#29114) 2024-02-17 23:24:30 +01:00
home.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
install.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 2024-02-26 22:30:26 +01:00
post-install.tmpl [BRANDING] Custom loading animation for Forgejo 2024-02-05 16:02:13 +01:00