Skip to content
This repository
Browse code

wider showexceptions page and deal with overflowing values

  • Loading branch information...
commit 0cf1dadf24a969facc5c0e9ee9461a0663698ebc 1 parent c05d506
Ryan Tomayko authored January 28, 2010 sr committed February 21, 2010

Showing 1 changed file with 10 additions and 6 deletions. Show diff stats Hide diff stats

  1. 16  lib/sinatra/showexceptions.rb
16  lib/sinatra/showexceptions.rb
@@ -73,14 +73,14 @@ def frame_class(frame)
73 73
   #explanation        {font-size: 12px; color: #666666;
74 74
                        margin: 20px 0 0 100px;}
75 75
 /* WRAP */
76  
-  #wrap               {width: 860px; background: #FFFFFF; margin: 0 auto;
  76
+  #wrap               {width: 1000px; background: #FFFFFF; margin: 0 auto;
77 77
                        padding: 30px 50px 20px 50px;
78 78
                        border-left: 1px solid #DDDDDD;
79 79
                        border-right: 1px solid #DDDDDD;}
80 80
 /* HEADER */
81 81
   #header             {margin: 0 auto 25px auto;}
82 82
   #header img         {float: left;}
83  
-  #header #summary    {float: left; margin: 12px 0 0 20px; width:520px;
  83
+  #header #summary    {float: left; margin: 12px 0 0 20px; width:660px;
84 84
                        font-family: 'Lucida Grande', 'Lucida Sans Unicode';}
85 85
   h1                  {margin: 0; font-size: 36px; color: #981919;}
86 86
   h2                  {margin: 0; font-size: 22px; color: #333333;}
@@ -94,7 +94,7 @@ def frame_class(frame)
94 94
   #get,
95 95
   #post,
96 96
   #cookies,
97  
-  #rack               {width: 860px; margin: 0 auto 10px auto;}
  97
+  #rack               {width: 980px; margin: 0 auto 10px auto;}
98 98
   p#nav               {float: right; font-size: 14px;}
99 99
 /* BACKTRACE */
100 100
   a#expando           {float: left; padding-left: 5px; color: #666666;
@@ -107,7 +107,7 @@ def frame_class(frame)
107 107
                            font-size: 12px; color: #333333;}
108 108
   #backtrace ul       {list-style-position: outside; border: 1px solid #E9E9E9;
109 109
                        border-bottom: 0;}
110  
-  #backtrace ol       {width: 808px; margin-left: 50px;
  110
+  #backtrace ol       {width: 920px; margin-left: 50px;
111 111
                        font: 10px 'Lucida Console', monospace; color: #666666;}
112 112
   #backtrace ol li    {border: 0; border-left: 1px solid #E9E9E9;
113 113
                        padding: 2px 0;}
@@ -119,10 +119,11 @@ def frame_class(frame)
119 119
   #backtrace.condensed .framework {display:none;}
120 120
 /* REQUEST DATA */
121 121
   p.no-data           {padding-top: 2px; font-size: 12px; color: #666666;}
122  
-  table.req           {width: 760px; text-align: left; font-size: 12px;
  122
+  table.req           {width: 980px; text-align: left; font-size: 12px;
123 123
                        color: #666666; padding: 0; border-spacing: 0;
124 124
                        border: 1px solid #EEEEEE; border-bottom: 0;
125  
-                       border-left: 0;}
  125
+                       border-left: 0;
  126
+                       clear:both}
126 127
   table.req tr th     {padding: 2px 10px; font-weight: bold;
127 128
                        background: #F7F7F7; border-bottom: 1px solid #EEEEEE;
128 129
                        border-left: 1px solid #EEEEEE;}
@@ -132,6 +133,9 @@ def frame_class(frame)
132 133
 /* HIDE PRE/POST CODE AT START */
133 134
   .pre-context,
134 135
   .post-context       {display: none;}
  136
+
  137
+  table td.code       {width:750px}
  138
+  table td.code div   {width:750px;overflow:hidden}
135 139
 </style>
136 140
 </head>
137 141
 <body>

0 notes on commit 0cf1dad

Please sign in to comment.
Something went wrong with that request. Please try again.