aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHesterG <hestergong@gmail.com>2023-05-20 00:02:34 +0800
committerGitHub <noreply@github.com>2023-05-19 16:02:34 +0000
commitacde12a8a276cd3c0bb6186571b5da2f1f98757c (patch)
tree4b29e502ab5cdc690786a5bd77da20745ccd9d6b
parentf5ce2ed292a90041abd749a8db26671645648a43 (diff)
downloadgitea-acde12a8a276cd3c0bb6186571b5da2f1f98757c.tar.gz
gitea-acde12a8a276cd3c0bb6186571b5da2f1f98757c.zip
Fix max width and margin of comment box on conversation page (#24809)
Fix regression from #23937 The changes should only be limited to `.conversation-holder .comment-code-cloud`, otherwise it will affect the `.comment-code-cloud` in conversation tab Before: <img width="962" alt="Screen Shot 2023-05-19 at 18 22 25" src="https://github.com/go-gitea/gitea/assets/17645053/0db01d04-2581-48f9-b46c-497836b1f12b"> After: <img width="997" alt="Screen Shot 2023-05-19 at 18 35 01" src="https://github.com/go-gitea/gitea/assets/17645053/5d14b67b-88c1-46c6-b859-fd41752b3ebb"> --------- Co-authored-by: Giteabot <teabot@gitea.io>
-rw-r--r--web_src/css/review.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/web_src/css/review.css b/web_src/css/review.css
index 14668eb245..d57fcc85df 100644
--- a/web_src/css/review.css
+++ b/web_src/css/review.css
@@ -61,6 +61,9 @@
.comment-code-cloud {
padding: 0.5rem 1rem !important;
position: relative;
+}
+
+.conversation-holder .comment-code-cloud {
max-width: 820px;
}