@@ -17,7 +17,7 @@ import (
"gogs.io/gogs/internal/setting"
)
-const Version = "0.11.96.1105"
+const Version = "0.11.96.1107"
func init() {
setting.AppVer = Version
@@ -14,7 +14,7 @@ import (
"strings"
"time"
- "github.com/json-iterator/go"
+ jsoniter "github.com/json-iterator/go"
"github.com/microcosm-cc/bluemonday"
"golang.org/x/net/html/charset"
"golang.org/x/text/transform"
@@ -2066,6 +2066,9 @@ footer .ui.language .menu {
.repository .filter.dropdown .menu {
margin-top: 1px!important;
}
+.repository.diff .commit-message pre {
+ white-space: pre-wrap;
+}
.repository.commits .header .ui.right .search input {
font-weight: normal;
padding: 5px 10px;
@@ -194,7 +194,7 @@
#file-buttons {
-
+
.ui.button {
padding: 8px 10px;
@@ -324,12 +324,12 @@
.nb-cell {
- position: relative;
+ position: relative;
&.nb-heading-cell {
margin-top: 0.5em;
img {
max-width: 100%;
@@ -343,9 +343,9 @@
margin: .5em 0;
- .nb-input:before,
+ .nb-input:before,
.nb-output:before {
- position: absolute;
+ position: absolute;
font-family: monospace;
color: #999;
left: -7.5em;
@@ -373,7 +373,7 @@
&:before {
content: "Out [" attr(data-prompt-number) "]:";
pre {
font-size: 14px;
@@ -391,7 +391,7 @@
th,
td {
border: 1px solid #000;
- padding: 0.25em;
+ padding: 0.25em;
text-align: left;
vertical-align: middle;
border-collapse: collapse;
@@ -406,7 +406,7 @@
// Fix pandas dataframe formatting
div[style="max-height:1000px;max-width:1500px;overflow:auto;"] {
- max-height: none !important;
+ max-height: none !important;
@@ -948,7 +948,13 @@
.filter.dropdown .menu {
- }
+ }
+ &.diff {
+ .commit-message pre {
&.commits {
.header {
@@ -1 +1 @@
-0.11.96.1105
+0.11.96.1107
@@ -9,7 +9,9 @@
<a class="ui floated right blue tiny button" href="{{EscapePound .SourcePath}}">
{{.i18n.Tr "repo.diff.browse_source"}}
</a>
- {{RenderCommitMessage true .Commit.Message $.RepoLink $.Repository.ComposeMetas | Str2HTML}}
+ <div class="commit-message">
+ {{RenderCommitMessage true .Commit.Message $.RepoLink $.Repository.ComposeMetas | Str2HTML}}
+ </div>
</div>
<div class="ui attached info segment">
{{if .Author}}