@plannotator/ui 0.35.2 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -142,7 +142,7 @@ export function scrollVimTargetIntoView(
142
142
 
143
143
  const margin = resolveVimScrollMargin(viewportRect.height);
144
144
  const stickyBottom = viewport
145
- .querySelector<HTMLElement>('[data-sticky-actions]')
145
+ .querySelector<HTMLElement>('[data-viewer-document-header], [data-sticky-actions]')
146
146
  ?.getBoundingClientRect().bottom;
147
147
  const topMargin = stickyBottom !== undefined
148
148
  ? Math.max(margin, stickyBottom - viewportRect.top + 8)