stack trace: initial details style

This commit is contained in:
Starbeamrainbowlabs 2018-03-07 23:58:07 +00:00
parent a419204295
commit ea1534a50e
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 15 additions and 6 deletions

View file

@ -150,13 +150,20 @@ pre {
padding: var(--padding-vertical) 0;
}
.report > div:first-child {
font-weight: bold;
margin-bottom: 0.25em;
padding: var(--padding-vertical) var(--padding-horizontal);
font-weight: bold;
}
.report .version { float: right; }
.report > pre {
background: rgba(238, 238, 238, 0.8);
margin: 0 0 1em 0;
padding: var(--padding-vertical) var(--padding-horizontal);
background: rgba(238, 238, 238, 0.8);
}
.report .details {
padding: var(--padding-vertical) var(--padding-horizontal);
background: hsla(262, 75%, 50%, 0.6);
white-space: pre-wrap;
}
/*

View file

@ -36,10 +36,12 @@
<xsl:value-of select="version" />
</span>
</div>
<xsl:if test="string-length(details)!=0">
<div class="details">
<xsl:value-of select="details" />
</div>
<pre class="details"><code>
</xsl:if>
<pre class="stack-trace"><code>
<xsl:value-of select="stack_trace" />
</code></pre>
</div>