Dev: Error log style

This commit is contained in:
surunzi
2017-11-17 16:39:02 +08:00
parent 5acef5a4f9
commit 185c7a35f1
2 changed files with 9 additions and 3 deletions

View File

@@ -96,9 +96,8 @@
border-top: 1px solid $red;
border-bottom: 1px solid $red;
.stack {
color: $gray-dark;
padding-left: 1.2em;
white-space: normal;
white-space: nowrap;
}
.count {
background: $red;

View File

@@ -28,6 +28,9 @@
<li>
<a href="#" id="issue33">#33</a>
</li>
<li>
<a href="#" id="trigger-error">Trigger Error</a>
</li>
</ul>
</nav>
<script>
@@ -82,7 +85,11 @@
});
addClickEvent('issue33', function ()
{
_.evalCss(':root {--test: 10px;}');
util.evalCss(':root {--test: 10px;}');
});
addClickEvent('trigger-error', function ()
{
triggerError();
});
</script>
<script>boot();</script>