1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-10-09 01:06:27 +08:00

Add some padding to the shadowed comment box ()

* Add some padding to the shadowed comment box
* prevent the padding affecting the other comments
This commit is contained in:
zeripath
2020-01-05 19:25:27 +00:00
committed by GitHub
parent 133ae18b61
commit 2a1cf5bae9
2 changed files with 22 additions and 12 deletions
templates/repo/issue/view_content
web_src/less

@ -850,6 +850,14 @@
box-shadow: 0 0 10px #8c8c8c;
}
&:target > .content > .code-comment-content {
padding: 4px;
}
&:target > .content > .code-comment-content > .text {
margin-bottom: 0;
}
.ui.form {
.field:first-child {
clear: none;