diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/css/index.css | 1 | ||||
-rw-r--r-- | public/less/_admin.less | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/public/css/index.css b/public/css/index.css index 47e2519c5b..fa449ec69f 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -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} diff --git a/public/less/_admin.less b/public/less/_admin.less index af68a43dbd..0bd685142a 100644 --- a/public/less/_admin.less +++ b/public/less/_admin.less @@ -65,4 +65,10 @@ margin-left: 5px; } } + + code, + pre { + white-space: pre-wrap; + word-wrap: break-word; + } } |