mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Merge pull request #2528 from andreynering/diff-sintax-highlight-733
Enable syntax highlighting on diff view
This commit is contained in:
@@ -8,7 +8,7 @@ body {
|
||||
img {
|
||||
border-radius: 3px;
|
||||
}
|
||||
pre {
|
||||
pre, code {
|
||||
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
||||
&.raw {
|
||||
padding: 7px 12px;
|
||||
@@ -375,3 +375,9 @@ footer {
|
||||
width: 95%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Overrides some styles of the Highlight.js plugin */
|
||||
.hljs {
|
||||
background: inherit !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
Reference in New Issue
Block a user