Skip to content

Commit 8a95dd7

Browse files
Copilot0xrinegade
andcommitted
Fix execution steps layout overflow - make UI more compact and user-friendly
Co-authored-by: 0xrinegade <101195284+0xrinegade@users.noreply.github.com>
1 parent 4b9d641 commit 8a95dd7

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

docs/orderbook-visualizer.html

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -601,10 +601,10 @@
601601
}
602602

603603
.algorithm-steps {
604-
margin: 0.3rem 0;
605-
flex: 1;
604+
margin: 0.2rem 0;
605+
flex: 0 0 auto;
606606
min-height: 0;
607-
max-height: 240px;
607+
max-height: 140px;
608608
overflow: hidden;
609609
display: flex;
610610
flex-direction: column;
@@ -614,27 +614,27 @@
614614
background: rgba(255, 255, 255, 0.5);
615615
border: 1px solid rgba(0, 0, 0, 0.1);
616616
border-radius: 6px;
617-
padding: 0.3rem;
618-
min-height: 120px;
619-
max-height: 200px;
617+
padding: 0.2rem;
618+
min-height: 80px;
619+
max-height: 100px;
620620
overflow-y: auto;
621-
font-size: 0.7rem;
622-
line-height: 1.2;
621+
font-size: 0.65rem;
622+
line-height: 1.1;
623623
flex: 1;
624624
}
625625

626626
.execution-step {
627627
display: flex;
628628
align-items: center;
629-
padding: 0.15rem 0.2rem;
630-
margin: 0.05rem 0;
629+
padding: 0.1rem 0.15rem;
630+
margin: 0.02rem 0;
631631
background: rgba(255, 255, 255, 0.8);
632632
border-radius: 3px;
633633
border-left: 2px solid var(--accent-blue);
634634
animation: stepAppear 0.5s ease-out;
635-
font-size: 0.65rem;
636-
line-height: 1.1;
637-
min-height: 18px;
635+
font-size: 0.6rem;
636+
line-height: 1.0;
637+
min-height: 16px;
638638
transition: all 0.3s ease;
639639
}
640640

@@ -709,8 +709,8 @@
709709
}
710710

711711
.skip-list-visualization {
712-
margin: 0.3rem 0;
713-
flex: 1;
712+
margin: 0.2rem 0;
713+
flex: 2;
714714
min-height: 0;
715715
overflow: hidden;
716716
display: flex;
@@ -996,8 +996,8 @@
996996

997997
/* Data Structure Specific Visualizations */
998998
.data-structure-viz {
999-
margin: 0.3rem 0;
1000-
flex: 1;
999+
margin: 0.2rem 0;
1000+
flex: 2;
10011001
min-height: 0;
10021002
}
10031003

@@ -1006,8 +1006,8 @@
10061006
border: 1px solid rgba(0, 0, 0, 0.1);
10071007
border-radius: 6px;
10081008
padding: 0.3rem;
1009-
min-height: 60px;
1010-
max-height: 120px;
1009+
min-height: 100px;
1010+
max-height: 200px;
10111011
overflow: auto;
10121012
}
10131013

0 commit comments

Comments
 (0)