aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-06-06 15:15:14 +0100
committerGitHub <noreply@github.com>2020-06-06 15:15:14 +0100
commit1ee6c13f1180693becc6cecc9a9987a1ae2eeeb4 (patch)
treeaf5be0d6fead9f3b9274cfea7d78ec0640e80ed7 /web_src/less
parentcfac97542b3ef4b091b5830ff90d2cbad76c9502 (diff)
downloadgitea-1ee6c13f1180693becc6cecc9a9987a1ae2eeeb4.tar.gz
gitea-1ee6c13f1180693becc6cecc9a9987a1ae2eeeb4.zip
Initialize SimpleMDE when making a code comment (#11749)
Fix #11704 Signed-off-by: Andrew Thornton <art27@cantab.net> Co-Authored-By: Cirno the Strongest <1447794+CirnoT@users.noreply.github.com>
Diffstat (limited to 'web_src/less')
-rw-r--r--web_src/less/_review.less21
1 files changed, 9 insertions, 12 deletions
diff --git a/web_src/less/_review.less b/web_src/less/_review.less
index a8df639486..ab5506a87c 100644
--- a/web_src/less/_review.less
+++ b/web_src/less/_review.less
@@ -54,15 +54,14 @@
border: 0;
padding: 0;
margin: 0;
-
- &.markdown {
- padding: 1em;
- min-height: 168px;
- }
}
&.header {
padding: .1rem 1rem;
+
+ .text {
+ margin: 0;
+ }
}
}
@@ -76,18 +75,16 @@
}
.ui.active.tab {
- border: 1px solid #d4d4d5;
padding: .5em;
- border-radius: 0 .28571429rem .28571429rem;
- }
- .ui.active.markdown.tab {
- border-top-left-radius: .28571429rem;
+ &.markdown {
+ padding: 1em;
+ min-height: 168px;
+ }
}
.ui.tabular.menu {
- margin-bottom: 0;
- border-bottom: 0;
+ margin: .5em;
}
.comment-list {