Improve CSS timeline.

This commit is contained in:
jcamiel 2023-06-15 10:32:11 +02:00 committed by hurl-bot
parent bdd43c7ae4
commit 3ae6faf7c9
No known key found for this signature in database
GPG Key ID: 1283A2B4A0DCAF8D
3 changed files with 9 additions and 5 deletions

View File

@ -12,6 +12,10 @@ body {
}
.timeline-container {
max-width: 1400px;
width: 100%;
margin-left: auto;
margin-right: auto;
border: solid 1px #dcdcde;
display: flex;
}

View File

@ -11,10 +11,10 @@
<div>
<div class="container">
{nav}
<div class="timeline-container">
<div class="calls">{calls}</div>
<div class="waterfall">{waterfall}</div>
</div>
</div>
<div class="timeline-container">
<div class="calls">{calls}</div>
<div class="waterfall">{waterfall}</div>
</div>
</div>
</body>

View File

@ -61,7 +61,7 @@ impl Testcase {
let margin_top = 50.px();
let margin_bottom = 250.px();
let width = 938.px();
let width = 1138.px();
let height = (CALL_HEIGHT * calls.len()) + margin_top + margin_bottom;
let height = Pixel::max(100.px(), height);