We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9a982d commit 00a2741Copy full SHA for 00a2741
src/lib/components/billing/gradientBanner.svelte
@@ -22,8 +22,7 @@
22
const alertHeight = container?.getBoundingClientRect()?.height || 0;
23
const { header, sidebar, content } = queryLayoutElements();
24
const headerHeight = header?.getBoundingClientRect().height || 0;
25
- const offset = alertHeight + (!isTabletViewport && header ? headerHeight : 0);
26
-
+ const offset = alertHeight + (!$isTabletViewport && header ? headerHeight : 0);
27
if (header) header.style.top = `${alertHeight}px`;
28
if (sidebar) {
29
sidebar.style.top = `${offset}px`;
0 commit comments