From 28d25c2eef9c8e4bdbe8ec3303c8bc086138981c Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Sat, 9 Jul 2022 01:03:53 +0900 Subject: Use "white-space: pre-wrap" instead of "pre" ... to allow automatic line wrapping for very long lines. --- lib/rack/show_exceptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rack/show_exceptions.rb b/lib/rack/show_exceptions.rb index 6af1ec1f..a89b1042 100644 --- a/lib/rack/show_exceptions.rb +++ b/lib/rack/show_exceptions.rb @@ -163,7 +163,7 @@ module Rack div.commands { margin-left: 40px; } div.commands a { color:black; text-decoration:none; } #summary { background: #ffc; } - #summary h2 { font-family: monospace; font-weight: normal; color: #666; white-space: pre; } + #summary h2 { font-family: monospace; font-weight: normal; color: #666; white-space: pre-wrap; } #summary ul#quicklinks { list-style-type: none; margin-bottom: 2em; } #summary ul#quicklinks li { float: left; padding: 0 1em; } #summary ul#quicklinks>li+li { border-left: 1px #666 solid; } -- cgit v1.2.1