Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

wider showexceptions page and deal with overflowing values

  • Loading branch information...
commit 0cf1dadf24a969facc5c0e9ee9461a0663698ebc 1 parent c05d506
@rtomayko rtomayko authored sr committed
Showing with 10 additions and 6 deletions.
  1. +10 −6 lib/sinatra/showexceptions.rb
View
16 lib/sinatra/showexceptions.rb
@@ -73,14 +73,14 @@ def frame_class(frame)
#explanation {font-size: 12px; color: #666666;
margin: 20px 0 0 100px;}
/* WRAP */
- #wrap {width: 860px; background: #FFFFFF; margin: 0 auto;
+ #wrap {width: 1000px; background: #FFFFFF; margin: 0 auto;
padding: 30px 50px 20px 50px;
border-left: 1px solid #DDDDDD;
border-right: 1px solid #DDDDDD;}
/* HEADER */
#header {margin: 0 auto 25px auto;}
#header img {float: left;}
- #header #summary {float: left; margin: 12px 0 0 20px; width:520px;
+ #header #summary {float: left; margin: 12px 0 0 20px; width:660px;
font-family: 'Lucida Grande', 'Lucida Sans Unicode';}
h1 {margin: 0; font-size: 36px; color: #981919;}
h2 {margin: 0; font-size: 22px; color: #333333;}
@@ -94,7 +94,7 @@ def frame_class(frame)
#get,
#post,
#cookies,
- #rack {width: 860px; margin: 0 auto 10px auto;}
+ #rack {width: 980px; margin: 0 auto 10px auto;}
p#nav {float: right; font-size: 14px;}
/* BACKTRACE */
a#expando {float: left; padding-left: 5px; color: #666666;
@@ -107,7 +107,7 @@ def frame_class(frame)
font-size: 12px; color: #333333;}
#backtrace ul {list-style-position: outside; border: 1px solid #E9E9E9;
border-bottom: 0;}
- #backtrace ol {width: 808px; margin-left: 50px;
+ #backtrace ol {width: 920px; margin-left: 50px;
font: 10px 'Lucida Console', monospace; color: #666666;}
#backtrace ol li {border: 0; border-left: 1px solid #E9E9E9;
padding: 2px 0;}
@@ -119,10 +119,11 @@ def frame_class(frame)
#backtrace.condensed .framework {display:none;}
/* REQUEST DATA */
p.no-data {padding-top: 2px; font-size: 12px; color: #666666;}
- table.req {width: 760px; text-align: left; font-size: 12px;
+ table.req {width: 980px; text-align: left; font-size: 12px;
color: #666666; padding: 0; border-spacing: 0;
border: 1px solid #EEEEEE; border-bottom: 0;
- border-left: 0;}
+ border-left: 0;
+ clear:both}
table.req tr th {padding: 2px 10px; font-weight: bold;
background: #F7F7F7; border-bottom: 1px solid #EEEEEE;
border-left: 1px solid #EEEEEE;}
@@ -132,6 +133,9 @@ def frame_class(frame)
/* HIDE PRE/POST CODE AT START */
.pre-context,
.post-context {display: none;}
+
+ table td.code {width:750px}
+ table td.code div {width:750px;overflow:hidden}
</style>
</head>
<body>
Please sign in to comment.
Something went wrong with that request. Please try again.