1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-10 12:14:25 +00:00

Fix code overflow (#6914)

This commit is contained in:
Xaver Maierhofer 2019-05-14 18:02:59 +02:00 committed by techknowlogick
parent e55c874dd2
commit 95d3d42c5f
3 changed files with 8 additions and 1 deletions

View File

@ -942,6 +942,7 @@ tbody.commit-list{vertical-align:baseline}
.admin dl.admin-dl-horizontal dd{margin-left:275px}
.admin dl.admin-dl-horizontal dt{font-weight:bolder;float:left;width:285px;clear:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.admin.config #test-mail-btn{margin-left:5px}
.admin code,.admin pre{white-space:pre-wrap;word-wrap:break-word}
.explore{padding-top:15px}
.explore .navbar{justify-content:center;padding-top:15px!important;margin-top:-15px!important;margin-bottom:15px!important;background-color:#fafafa!important;border-width:1px!important}
.explore .navbar .octicon{width:16px;text-align:center;margin-right:5px}

View File

@ -65,4 +65,10 @@
margin-left: 5px;
}
}
code,
pre {
white-space: pre-wrap;
word-wrap: break-word;
}
}

View File

@ -254,7 +254,7 @@
<dt>{{.i18n.Tr "admin.config.session_provider"}}</dt>
<dd>{{.SessionConfig.Provider}}</dd>
<dt>{{.i18n.Tr "admin.config.provider_config"}}</dt>
<dd><code>{{if .SessionConfig.ProviderConfig}}{{.SessionConfig.ProviderConfig}}{{else}}-{{end}}</code></dd>
<dd><pre>{{if .SessionConfig.ProviderConfig}}{{.SessionConfig.ProviderConfig | JsonPrettyPrint}}{{else}}-{{end}}</pre></dd>
<dt>{{.i18n.Tr "admin.config.cookie_name"}}</dt>
<dd>{{.SessionConfig.CookieName}}</dd>
<dt>{{.i18n.Tr "admin.config.gc_interval_time"}}</dt>