aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2021-10-23 21:38:12 +0800
committerGitHub <noreply@github.com>2021-10-23 21:38:12 +0800
commit6c49517cbd9d353d2d56d899632f301919818a03 (patch)
treeaaca5a05c9867c30282e628e08abac3a209985e9 /web_src/less
parent2a9aefdabb24442f18d2ab2eac672a03928de9a4 (diff)
downloadgitea-6c49517cbd9d353d2d56d899632f301919818a03.tar.gz
gitea-6c49517cbd9d353d2d56d899632f301919818a03.zip
Fix issue markdown bugs (#17411)
* Bug fix: render Markdown http://AppURL/org/repo/issues/4?a=1&b=2#comment-123 test to HTML correctly, close #17394 * Bug fix: fix the positions of checkboxes in rendered HTML, close #17395
Diffstat (limited to 'web_src/less')
-rw-r--r--web_src/less/markup/content.less5
1 files changed, 4 insertions, 1 deletions
diff --git a/web_src/less/markup/content.less b/web_src/less/markup/content.less
index 8d9858f0df..e86e2d9f99 100644
--- a/web_src/less/markup/content.less
+++ b/web_src/less/markup/content.less
@@ -158,9 +158,12 @@
.task-list-item {
list-style-type: none;
+ position: relative;
input[type="checkbox"] {
- margin: 0 6px .25em -1.6em;
+ position: absolute;
+ top: .25em;
+ left: -1.6em;
}
}