1
0
Fork 0
forgejo/web_src/css
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
..
chroma Chroma color tweaks (#26978) 2023-09-08 11:03:01 -05:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor Clean up diff header css and reduce global textarea min-height (#29232) 2024-02-19 22:58:33 +01:00
features Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
markup [gitea] Make blockquote border size less aggressive (#29124) 2024-02-11 13:47:46 +01:00
modules Apply compact padding to small buttons with svg icons (#29471) 2024-03-06 12:10:44 +08:00
repo Accessibility: Watch & Star on small screens 2024-03-02 14:31:10 +01:00
shared Reduce margin/padding on flex-list items and divider (#27872) 2023-11-02 12:30:38 +08:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Recolor dark theme to blue shade (#29283) 2024-03-06 12:10:44 +08:00
actions.css fix issues on action runners page (#27226) 2023-09-24 14:12:21 -04:00
admin.css User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css Add focus styling to most button types 2024-03-02 14:31:10 +01:00
dashboard.css Dashboard context dropdown position fix on landing page in mobile view. (#27047) 2023-09-13 15:15:36 +08:00
explore.css Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
font_i18n.css Fix @font-face overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Revert #28753 because UI broken. (#29293) 2024-02-26 22:30:25 +01:00
helpers.css Use tailwind instead of gt-[wh]- helper classes (#29423) 2024-03-06 12:10:43 +08:00
home.css [BRANDING] Add Forgejo light, dark, and auto themes 2024-02-05 16:02:13 +01:00
index.css Add tailwindcss (#29357) 2024-02-26 22:30:27 +01:00
install.css Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
org.css Unify organizations header (#29248) 2024-02-26 22:30:26 +01:00
repo.css Clean up diff header css and reduce global textarea min-height (#29232) 2024-02-19 22:58:33 +01:00
review.css Preview: set font-size on preview content 2024-02-14 23:02:40 +01:00
user.css [MODERATION] User blocking 2024-02-05 15:56:45 +01:00