summaryrefslogtreecommitdiffstats
path: root/web_src/css/modules
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-04-14 12:44:11 +0200
committerGitHub <noreply@github.com>2024-04-14 18:44:11 +0800
commit4b1063f3dba6ef7a54c15f6e795409b504a62391 (patch)
tree9f023c7dbc337088a9040cfe655af733fb35fdfa /web_src/css/modules
parent6999a88fd9bef6baa0a8cc5f63e419079611fc9b (diff)
downloadgitea-4b1063f3dba6ef7a54c15f6e795409b504a62391.tar.gz
gitea-4b1063f3dba6ef7a54c15f6e795409b504a62391.zip
Rewrite and restyle reaction selector and enable no-sizzle eslint rule (#30453)
Enable `no-sizzle` lint rule, there was only one use in `initCompReactionSelector` and: - Remove all jQuery except the necessary fomantic dropdown init - Remove the recursion, instead bind event listeners to common parent container nodes --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'web_src/css/modules')
-rw-r--r--web_src/css/modules/comment.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/modules/comment.css b/web_src/css/modules/comment.css
index 799eeb8574..cf080db225 100644
--- a/web_src/css/modules/comment.css
+++ b/web_src/css/modules/comment.css
@@ -16,7 +16,7 @@
.ui.comments .comment {
position: relative;
background: none;
- margin: 0.5em 0 0;
+ margin: 3px 0 0;
padding: 0.5em 0 0;
border: none;
border-top: none;