summaryrefslogtreecommitdiffstats
path: root/web_src/less
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-01-05 19:25:27 +0000
committerGitHub <noreply@github.com>2020-01-05 19:25:27 +0000
commit2a1cf5bae975e59cb27a74cbe443d25ba329145c (patch)
tree5f1498984fdfcaac6f9eccf3d37194c3a76202d6 /web_src/less
parent133ae18b61c5d3bdfc7670b8320abe84dd96cbe2 (diff)
downloadgitea-2a1cf5bae975e59cb27a74cbe443d25ba329145c.tar.gz
gitea-2a1cf5bae975e59cb27a74cbe443d25ba329145c.zip
Add some padding to the shadowed comment box (#9612)
* Add some padding to the shadowed comment box * prevent the padding affecting the other comments
Diffstat (limited to 'web_src/less')
-rw-r--r--web_src/less/_repository.less8
1 files changed, 8 insertions, 0 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index 6530bcf8e5..cd35b88f3b 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.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;