diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2015-12-26 12:26:26 +0100 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-01-05 19:21:41 +0100 |
commit | 0df39b33ebcff50df537f4682a72dcc29f046d01 (patch) | |
tree | 9454f38fb3a9ce16d58d20dc9a9a7016dba3359f /public/less/_base.less | |
parent | 7392b6a755300e9f921535d2c1ec6358d4e8bfe8 (diff) | |
download | gitea-0df39b33ebcff50df537f4682a72dcc29f046d01.tar.gz gitea-0df39b33ebcff50df537f4682a72dcc29f046d01.zip |
Implement Split Diff-View
- Unified/Inline Diff-View Selectable
Diffstat (limited to 'public/less/_base.less')
-rw-r--r-- | public/less/_base.less | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/public/less/_base.less b/public/less/_base.less index ab2785ff57..c07c81db4f 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -19,6 +19,13 @@ pre { line-height: 1.5; overflow: auto; } + &.wrap { + white-space: pre-wrap; /* CSS 3 */ + white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + word-wrap: break-word; /* Internet Explorer 5.5+ */ + } } .full.height { padding: 0; |