mirror of
https://github.com/liriliri/eruda.git
synced 2026-05-20 08:47:20 +08:00
Dev: Error log style
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user