From 79ce6a872048b664e34ac5d72f859b3d2a2aff7d Mon Sep 17 00:00:00 2001 From: Ivan <8611739+IRBorisov@users.noreply.github.com> Date: Sun, 24 Aug 2025 11:41:05 +0300 Subject: [PATCH] M: Fix layout shrinking when unfolding items --- .../src/features/library/components/select-location.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rsconcept/frontend/src/features/library/components/select-location.tsx b/rsconcept/frontend/src/features/library/components/select-location.tsx index 012773e5..ab1a3220 100644 --- a/rsconcept/frontend/src/features/library/components/select-location.tsx +++ b/rsconcept/frontend/src/features/library/components/select-location.tsx @@ -59,12 +59,13 @@ export function SelectLocation({ value, dense, prefix, onClick, className, style tabIndex={-1} key={`${prefix}${index}`} className={clsx( - !dense && 'h-7 sm:h-8', + !dense && 'min-h-7 sm:min-h-8', 'pr-3 py-1 flex items-center gap-2', 'cc-scroll-row', 'cc-hover-bg cc-animate-color duration-fade', 'cursor-pointer', 'leading-3 sm:leading-4', + 'flex-shrink-0', activeNode === item && 'cc-selected' )} style={{ paddingLeft: `${(item.rank > 5 ? 5 : item.rank) * 0.5 + 0.5}rem` }}