File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -942,6 +942,7 @@ tbody.commit-list{vertical-align:baseline}
942
942
.admin dl .admin-dl-horizontal dd {margin-left : 275px }
943
943
.admin dl .admin-dl-horizontal dt {font-weight : bolder;float : left;width : 285px ;clear : left;overflow : hidden;text-overflow : ellipsis;white-space : nowrap}
944
944
.admin .config # test-mail-btn {margin-left : 5px }
945
+ .admin code , .admin pre {white-space : pre-wrap;word-wrap : break-word}
945
946
.explore {padding-top : 15px }
946
947
.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 }
947
948
.explore .navbar .octicon {width : 16px ;text-align : center;margin-right : 5px }
Original file line number Diff line number Diff line change 65
65
margin-left : 5px ;
66
66
}
67
67
}
68
+
69
+ code ,
70
+ pre {
71
+ white-space : pre-wrap ;
72
+ word-wrap : break-word ;
73
+ }
68
74
}
Original file line number Diff line number Diff line change 254
254
<dt>{{.i18n.Tr "admin.config.session_provider"}}</dt>
255
255
<dd>{{.SessionConfig.Provider}}</dd>
256
256
<dt>{{.i18n.Tr "admin.config.provider_config"}}</dt>
257
- <dd><code >{{if .SessionConfig.ProviderConfig}}{{.SessionConfig.ProviderConfig}}{{else}}-{{end}}</code ></dd>
257
+ <dd><pre >{{if .SessionConfig.ProviderConfig}}{{.SessionConfig.ProviderConfig | JsonPrettyPrint }}{{else}}-{{end}}</pre ></dd>
258
258
<dt>{{.i18n.Tr "admin.config.cookie_name"}}</dt>
259
259
<dd>{{.SessionConfig.CookieName}}</dd>
260
260
<dt>{{.i18n.Tr "admin.config.gc_interval_time"}}</dt>
You can’t perform that action at this time.
0 commit comments