Ticket #15021: cross_browser_debug.diff

File cross_browser_debug.diff, 1.6 KB (added by EmilStenstrom, 14 years ago)

Update: Use pixels instead of em:s.

  • django/views/debug.py

     
    325325    h2 span { font-size:80%; color:#666; font-weight:normal; }
    326326    h3 { margin:1em 0 .5em 0; }
    327327    h4 { margin:0 0 .5em 0; font-weight: normal; }
     328    code, pre { font-size: 100%; }
    328329    table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; }
    329330    tbody td, tbody th { vertical-align:top; padding:2px 3px; }
    330331    thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; }
     
    336337    table.source th { color:#666; }
    337338    table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; }
    338339    ul.traceback { list-style-type:none; }
    339     ul.traceback li.frame { margin-bottom:1em; }
    340     div.context { margin: 10px 0; }
     340    ul.traceback li.frame { padding-bottom:1em; }
     341    div.context { padding:10px 0; overflow:hidden; }
    341342    div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; }
    342343    div.context ol li { font-family:monospace; white-space:pre; color:#666; cursor:pointer; }
     344    div.context ol li pre { display:inline; }
    343345    div.context ol.context-line li { color:black; background-color:#ccc; }
    344     div.context ol.context-line li span { float: right; }
     346    div.context ol.context-line li span { position:absolute; right:32px; }
    345347    div.commands { margin-left: 40px; }
    346348    div.commands a { color:black; text-decoration:none; }
    347349    #summary { background: #ffc; }
Back to Top