diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-20 23:46:15 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-20 23:46:15 +0100 |
| commit | 82fa7cecf9fd4c8cd71fadc2d5530f36c0483073 (patch) | |
| tree | ea7cda90db15eaae70153b5bc90f316028abf156 /public | |
| parent | 05e3cf56318fa16b79e08cff0fa69a939aab69e2 (diff) | |
white-space pre-wrap for real
Diffstat (limited to 'public')
| -rw-r--r-- | public/assets/css/bucky.css | 4 | ||||
| -rw-r--r-- | public/assets/js/util/format.js | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/public/assets/css/bucky.css b/public/assets/css/bucky.css index 2482b46..1dadaf0 100644 --- a/public/assets/css/bucky.css +++ b/public/assets/css/bucky.css @@ -393,13 +393,15 @@ tr:nth-child(even) td.black { background-color: #eee; border-bottom-color: color: #111111; } .comment .body { - white-space: pre-wrap; font-size: 12px; line-height: 1.3; width: 100%; padding-bottom: 3px; margin-right: 110px; } +.contents { + white-space: pre-wrap; +} .comment .date { position: absolute; bottom: 12px; diff --git a/public/assets/js/util/format.js b/public/assets/js/util/format.js index 5002899..1e6025b 100644 --- a/public/assets/js/util/format.js +++ b/public/assets/js/util/format.js @@ -200,7 +200,7 @@ function tidy_urls (s, short_urls) { } }); - }).join("<br>\n") + }).join("\n") return ret } function get_domain(url){ |
