diff --git a/src/devtools/views/Profiler/ChartNode.css b/src/devtools/views/Profiler/ChartNode.css index e9ebea1a7a..3117ea1932 100644 --- a/src/devtools/views/Profiler/ChartNode.css +++ b/src/devtools/views/Profiler/ChartNode.css @@ -18,10 +18,10 @@ white-space: nowrap; text-overflow: ellipsis; overflow: hidden; - font-size: var(--font-family-sans); - font-family: var(--font-size-sans-normal); - margin-left: 4px; - margin-right: 4px; + font-family: var(--font-family-sans); + font-size: var(--font-size-sans-normal); + margin-left: 0.25rem; + margin-right: 0.25rem; line-height: 1.5; padding: 0 0 0; font-weight: 400; diff --git a/src/devtools/views/Profiler/FlamegraphChartBuilder.js b/src/devtools/views/Profiler/FlamegraphChartBuilder.js index 927f129181..9478c42d7e 100644 --- a/src/devtools/views/Profiler/FlamegraphChartBuilder.js +++ b/src/devtools/views/Profiler/FlamegraphChartBuilder.js @@ -69,7 +69,7 @@ export function getChartData({ let label = `${name}${maybeKey}`; if (didRender) { - label += ` (${selfDuration.toFixed(1)}ms) of ${actualDuration.toFixed( + label += ` (${selfDuration.toFixed(1)}ms of ${actualDuration.toFixed( 1 )}ms)`; }