1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/web_src/css/modules
Giteabot 0352b99221
Rewrite and restyle reaction selector and enable no-sizzle eslint rule (#30453) (#30473)
Backport #30453 by @silverwind

Enable `no-sizzle` lint rule, there was only one use in
`initCompReactionSelector` which I have rewritten as follows:

- Remove all jQuery except the necessary fomantic dropdown init
- Remove the recursion, instead bind event listeners to common parent
container nodes

Did various tests, works with our without attachments, in diff view and
in diff comments inside comment list.

Additionally the style of reactions now matches between code comments
and issue comments:

<img width="275" alt="Screenshot 2024-04-13 at 14 58 10"
src="https://github.com/go-gitea/gitea/assets/115237/9d08f188-8661-4dd9-bff4-cad6d6d09cab">

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-04-14 11:58:48 +00:00
..
animations.css Remove fomantic checkbox module (#30162) (#30168) 2024-03-29 17:44:22 +00:00
breadcrumb.css Use unique class for breadcrumb divider (#26524) 2023-08-16 00:08:23 +00:00
button.css Fix button hover border (#30048) 2024-03-25 10:14:43 +00:00
card.css Update JS dependencies and misc tweaks (#25540) 2023-06-27 21:44:17 +02:00
checkbox.css Reduce checkbox size to 15px (#30346) (#30347) 2024-04-09 08:06:39 +02:00
comment.css Rewrite and restyle reaction selector and enable no-sizzle eslint rule (#30453) (#30473) 2024-04-14 11:58:48 +00:00
container.css Various improvements for long file and commit names (#30374) (#30386) 2024-04-10 08:56:21 +02:00
divider.css Reduce margin/padding on flex-list items and divider (#27872) 2023-11-02 12:30:38 +08:00
flexcontainer.css Add --page-spacing variable, fix admin dashboard notice (#30302) (#30323) 2024-04-08 02:04:24 +00:00
grid.css Restore aligned grid column CSS (#30106) 2024-03-26 15:37:14 +00:00
header.css Prevent flash of dropdown menu on labels list (#30215) (#30216) 2024-04-01 06:16:55 +00:00
label.css Remove fomantic label module (#30081) 2024-03-27 09:58:02 +00:00
message.css Various code view improvements (#30014) 2024-03-24 12:14:03 +00: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 Fix spacing in issue navbar (#30238) (#30242) 2024-04-02 12:15:50 +00:00
normalize.css Use line-height: normal by default (#26635) 2023-08-22 10:19:15 +00:00
segment.css Fix:the rounded corners of the folded file are not displayed correctly (#29953) (#30177) 2024-03-29 17:16:40 +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
table.css Fix table alignment classes (#30144) 2024-03-27 21:47:40 +00:00
tippy.css Add <overflow-menu>, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
toast.css Remove some unused CSS styles (#26852) 2023-09-01 08:59:38 +02:00