summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2021-01-17 19:29:10 +0200
committerGitHub <noreply@github.com>2021-01-17 19:29:10 +0200
commitca63a9d3f1120d8c76eb83ff1fd07e0992a683a8 (patch)
treedbf4c75686909e75a90d819cb5590d79001466bd /web_src
parentacb1ceb1f426e87e7f821c01ab5b60dad7abc03d (diff)
downloadgitea-ca63a9d3f1120d8c76eb83ff1fd07e0992a683a8.tar.gz
gitea-ca63a9d3f1120d8c76eb83ff1fd07e0992a683a8.zip
Add edit, delete and reaction support to code review comments on issue page (#14339)
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_repository.less31
1 files changed, 31 insertions, 0 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 6c7de75075..fa6ea4467b 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -939,6 +939,10 @@
}
}
+ .ui.comments {
+ max-width: 100%;
+ }
+
.comment {
> .content {
> div:first-child {
@@ -1048,12 +1052,39 @@
border: none !important;
}
+ .comment-header {
+ background: transparent;
+ border-bottom: 0 !important;
+ padding: 0 !important;
+
+ &::after,
+ &::before {
+ display: none;
+ }
+ }
+
.avatar.image {
width: 28px;
height: 28px;
}
}
+ .comment-code-cloud {
+ .segment.reactions {
+ border-top: none !important;
+
+ .ui.label {
+ border: 1px solid;
+ padding: 6px !important;
+ border-radius: var(--border-radius);
+ }
+ }
+
+ button.comment-form-reply {
+ margin-left: 0;
+ }
+ }
+
.event {
padding-left: 15px;