From 313acdf304cf6679d9c439c1bfd4c5549740f69d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 8 Oct 2026 21:04:09 +0200 Subject: [PATCH] Size the source-priority skeleton to every metric line The loading state now reserves one collapsed line per metric, the upper bound of the loaded list, so the action row does not move down when the ladders arrive. --- src/components/settings/sources-section.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/settings/sources-section.tsx b/src/components/settings/sources-section.tsx index 68f5e54dd..57df0ca70 100644 --- a/src/components/settings/sources-section.tsx +++ b/src/components/settings/sources-section.tsx @@ -727,8 +727,10 @@ function SourcesSkeletonList() { - {[0, 1, 2, 3].map((i) => ( - + {/* One collapsed line per remaining metric: the upper bound, so the + action row below never jumps down when the ladders arrive. */} + {SOURCE_PRIORITY_METRIC_KEYS.slice(1).map((metric) => ( + ))} );