diff --git a/src/lib/components/legislation_view/parameters/VariableReferredNodeParameter.svelte b/src/lib/components/legislation_view/parameters/VariableReferredNodeParameter.svelte index 9aaadc7dc8c472e849158e1c83f3c25b04729a13..aa09e546ab05c3c17f01d56a2a122253e0c5af86 100644 --- a/src/lib/components/legislation_view/parameters/VariableReferredNodeParameter.svelte +++ b/src/lib/components/legislation_view/parameters/VariableReferredNodeParameter.svelte @@ -100,13 +100,12 @@ <section style="isolation: isolate;"> {#if depth !== 0} - {@const zIndex = 10000 - depth} {@const top = (depth - 1) * 2} <div data-depth={depth} class="sticky-element flex {depth === 1 ? '' - : 'h-8'} w-full items-center text-gray-600 z-[{zIndex}]" + : 'h-8'} w-full items-center text-gray-600" style="top: {top}rem;" > <button