Skip to content

Commit

Permalink
more consistent margins
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 10, 2014
1 parent 5eb0a8c commit 0ed0178
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions lib/Mojolicious/templates/exception.development.html.ep
Expand Up @@ -24,8 +24,6 @@
}
table {
border-collapse: collapse;
margin-top: 1em;
margin-bottom: 1em;
width: 100%;
}
td { padding: 0.5em }
Expand All @@ -46,6 +44,7 @@
.infobox tr:nth-child(odd) .value { background-color: #ddeeff }
.infobox tr:nth-child(even) .value { background-color: #eef9ff }
.key { text-align: right }
.more table { margin-bottom: 1em }
.spaced {
margin-left: 5em;
margin-right: 5em;
Expand Down Expand Up @@ -116,7 +115,7 @@
% end
<div id="showcase" class="box code spaced">
<pre><%= $exception->message %></pre>
<div id="context">
<div id="context" class="more">
<table>
% for my $line (@{$exception->lines_before}) {
%= $cv->($line->[0], $line->[1])
Expand All @@ -130,7 +129,7 @@
</table>
</div>
% if (defined $exception->line->[2]) {
<div id="insight">
<div id="insight" class="more">
<table>
% for my $line (@{$exception->lines_before}) {
%= $cv->($line->[0], $line->[2])
Expand Down Expand Up @@ -161,7 +160,7 @@
</div>
<div id="trace" class="box spaced">
% if (@{$exception->frames}) {
<div id="frames" class="infobox">
<div id="frames" class="infobox more">
<table>
% for my $frame (@{$exception->frames}) {
<tr>
Expand Down Expand Up @@ -198,7 +197,7 @@
% }
</table>
</div>
<div id="more" class="box infobox spaced">
<div id="more" class="box infobox more spaced">
<div id="infos">
<table>
%= $kv->(Perl => "$^V ($^O)")
Expand Down

0 comments on commit 0ed0178

Please sign in to comment.