1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-18 16:14:26 +00:00
gitea/web_src/css/modules
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
..
animations.css Make loading animation less aggressive (#28955) 2024-01-27 20:27:37 +08:00
breadcrumb.css Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00
button.css Apply compact padding to small buttons with svg icons (#29471) 2024-02-28 21:26:12 +01:00
card.css Update JS dependencies and misc tweaks (#25540) 2023-06-27 21:44:17 +02:00
comment.css Consolidate the two review boxes into one (#24738) 2023-05-29 12:44:03 +02:00
divider.css Reduce margin/padding on flex-list items and divider (#27872) 2023-11-02 12:30:38 +08:00
flexcontainer.css Fix flex container width (#28603) 2023-12-24 22:39:02 +08:00
modal.css Improve issue history dialog and make poster can delete their own history (#27323) 2023-09-28 08:43:20 +00:00
navbar.css Ui correction in mobile view nav bar left aligned items. (#27046) 2023-09-16 16:09:25 +02:00
normalize.css Use line-height: normal by default (#26635) 2023-08-22 10:19:15 +00:00
select.css add stylelint-stylistic (#25285) 2023-06-17 13:20:32 +00:00
svg.css Prevent SVG shrinking (#25652) 2023-07-04 02:15:06 +00:00
tippy.css Fix the overflow style for "Hide all checks" (#27932) 2023-11-07 18:53:35 +00:00
toast.css Remove some unused CSS styles (#26852) 2023-09-01 08:59:38 +02:00