Make sure method-info aligns after breaking on delimiter

This commit is contained in:
Jonas De Taeye
2016-03-13 21:32:34 +01:00
parent 5ae1a04d58
commit 752b2aa485
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -156,6 +156,14 @@ header {
font-size: 14px;
}
.frame-index {
float: left;
}
.frame-method-info {
margin-left: 24px;
}
.frame-index {
font-size: 11px;
color: #a29d9d;
@@ -3,8 +3,8 @@
for that particular frame */ ?>
<?php foreach ($frames as $i => $frame): ?>
<div class="frame <?php echo ($i == 0 ? 'active' : '') ?>" id="frame-line-<?php echo $i ?>">
<span class="frame-index"><?php echo (count($frames) - $i - 1) ?></span>
<div class="frame-method-info">
<span class="frame-index"><?php echo (count($frames) - $i - 1) ?></span>
<span class="frame-class"><?php echo $tpl->breakOnDelimiter('\\', $tpl->escape($frame->getClass() ?: '')) ?></span>
<span class="frame-function"><?php echo $tpl->breakOnDelimiter('\\', $tpl->escape($frame->getFunction() ?: '')) ?></span>
</div>