mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-24 19:42:07 +03:00
Improve CSS timeline.
This commit is contained in:
parent
bdd43c7ae4
commit
3ae6faf7c9
@ -12,6 +12,10 @@ body {
|
||||
}
|
||||
|
||||
.timeline-container {
|
||||
max-width: 1400px;
|
||||
width: 100%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
border: solid 1px #dcdcde;
|
||||
display: flex;
|
||||
}
|
||||
|
@ -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>
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user