summaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
authorRory McNamara <psychomario@users.noreply.github.com>2016-08-09 20:35:20 +0100
committer无闻 <u@gogs.io>2016-08-09 12:35:20 -0700
commitc8b45ecc2762a9d64dbe83cafd68b137661448a5 (patch)
treedf16d7b1b41d3fcade098cfe550cc61955d048c6 /public/less
parent9e8a8867ea3b4c977b436951a28d84e0c2ad2e4b (diff)
downloadgitea-c8b45ecc2762a9d64dbe83cafd68b137661448a5.tar.gz
gitea-c8b45ecc2762a9d64dbe83cafd68b137661448a5.zip
Render the Code view on the server (minus syntax highlighting) (#2942)
* render code view server side * remove debug print * fix multiline selection bug * change string concatenation to bytes.Buffer for efficiency * Fix newlines added by previous for hljs * fix selection highlighting * make css changes in .less
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_repository.less2
1 files changed, 2 insertions, 0 deletions
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 474b8ade6d..cb1cc121ce 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -251,6 +251,8 @@
padding: 0 !important;
li {
padding-left: 5px;
+ display: inline-block;
+ width: 100%;
&.active {
background: #ffffdd;
}