mirror of
https://github.com/filp/whoops.git
synced 2026-09-14 03:36:38 +00:00
Tweak frame code sizings, replace italics with 300 font weight
This commit is contained in:
@@ -74,6 +74,14 @@ header {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.details-heading {
|
||||
color: #303030;
|
||||
font-weight: 300;
|
||||
padding-bottom: 10px;
|
||||
margin-bottom: 10px;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, .1);
|
||||
}
|
||||
|
||||
.left-panel {
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
@@ -189,7 +197,7 @@ header {
|
||||
|
||||
.frame-comments.empty:before {
|
||||
content: "No comments for this stack frame.";
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
color: #a29d9d;
|
||||
}
|
||||
|
||||
@@ -266,7 +274,7 @@ header {
|
||||
|
||||
.data-table span.empty {
|
||||
color: rgba(0, 0, 0, .3);
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
}
|
||||
.data-table label.empty {
|
||||
display: inline;
|
||||
@@ -437,6 +445,7 @@ kbd {
|
||||
@media (min-width: 1000px) {
|
||||
.details, .frame-code {
|
||||
padding: 20px 40px;
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
.details-container {
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
<?php /* List data-table values, i.e: $_SERVER, $_GET, .... */ ?>
|
||||
<div class="details">
|
||||
<h2 class="details-heading">Environment & details:</h2>
|
||||
|
||||
<div class="data-table-container" id="data-tables">
|
||||
<?php foreach ($tables as $label => $data): ?>
|
||||
<div class="data-table" id="sg-<?php echo $tpl->escape($tpl->slug($label)) ?>">
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
if ($line !== null):
|
||||
|
||||
// the $line is 1-indexed, we nab -1 where needed to account for this
|
||||
$range = $frame->getFileLines($line - 8, 10);
|
||||
$range = $frame->getFileLines($line - 10, 20);
|
||||
|
||||
// getFileLines can return null if there is no source code
|
||||
if ($range):
|
||||
|
||||
Reference in New Issue
Block a user