summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2020-05-18 12:17:35 +0300
committerGitHub <noreply@github.com>2020-05-18 10:17:35 +0100
commit6e75bc013e97d3cc93e2ed02512e364e3333542c (patch)
treea4596d41b51e9f9898e3ad5ab3e467a9ab5dc9ea /web_src
parent087719cb8da5b0f231b7a4cba3cb5cf4bf38bd34 (diff)
downloadgitea-6e75bc013e97d3cc93e2ed02512e364e3333542c.tar.gz
gitea-6e75bc013e97d3cc93e2ed02512e364e3333542c.zip
Fix comment box styling and cancelling (#11463) (#11464) (#11469) (#11467)
* Fix styling of resolved code comment box (#11463) Co-authored-by: Lauris BH <lauris@nix.lv> * Fix .comment-code-cloud not being removed when cancelling new code comment (#11464) * Fix footer padding for comment code reply form on issue event view (#11469) Co-authored-by: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/less/_repository.less4
-rw-r--r--web_src/less/_review.less6
2 files changed, 10 insertions, 0 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 47b020d4e1..148d65e717 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -807,6 +807,10 @@
.author {
font-weight: 700;
}
+
+ .comment-form-reply .footer {
+ padding-bottom: 1em;
+ }
}
.comment {
diff --git a/web_src/less/_review.less b/web_src/less/_review.less
index f146cc1da8..38e5c62793 100644
--- a/web_src/less/_review.less
+++ b/web_src/less/_review.less
@@ -17,6 +17,12 @@
}
}
+.add-comment-left.add-comment-right .ui.attached.header {
+ border: 1px solid #d4d4d5;
+ margin-bottom: .5em;
+ margin-top: .5em;
+}
+
.focus-lines-new .ui.button.add-code-comment.add-code-comment-right,
.focus-lines-old .ui.button.add-code-comment.add-code-comment-left {
opacity: 1;