Skip to content

Commit b15d094

Browse files
committed
docs: refine hashtable code panel sizing
1 parent f8be4cf commit b15d094

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

internal-api/src/demos/datadog-hashtable.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -437,12 +437,11 @@
437437
.step-note {
438438
display: grid;
439439
grid-template-columns: 33px 1fr;
440+
align-items: start;
440441
gap: 11px;
441-
height: 112px;
442-
min-height: 0;
442+
min-height: 72px;
443443
margin: 0;
444444
padding: 10px;
445-
overflow: auto;
446445
background: var(--panel-2);
447446
border: 0;
448447
border-top: 1px solid var(--line);
@@ -1745,8 +1744,8 @@ <h2>Every animation maps to current source.</h2>
17451744
codeLabel: "AggregateTable call flow · abridged",
17461745
codeSections: [0, 7, 14, 21, 27, 47, 53],
17471746
code: [
1748-
"// Scenario setup",
1749-
"buckets = Hashtable.Support.create(maxAggregates, MAX_RATIO); // max = 4",
1747+
"// Scenario setup · maxAggregates = 4",
1748+
"buckets = Hashtable.Support.create(maxAggregates, MAX_RATIO);",
17501749
"record(orders);",
17511750
"record(checkout);",
17521751
"record(legacy);",

0 commit comments

Comments
 (0)