Update packages/client/src/components/global/sticky-container.vue
Co-authored-by: Johann150 <johann.galle@protonmail.com>
This commit is contained in:
parent
c2c7a06729
commit
1756d74039
@ -19,7 +19,7 @@ const props = withDefaults(defineProps<{
|
||||
const rootEl = $ref<HTMLElement>();
|
||||
const bodyEl = $ref<HTMLElement>();
|
||||
|
||||
let headerHeight: string | undefined = $ref();
|
||||
let headerHeight = $ref<string | undefined>();
|
||||
|
||||
const calc = () => {
|
||||
const currentStickyTop = getComputedStyle(rootEl).getPropertyValue('--stickyTop') || '0px';
|
||||
|
Loading…
Reference in New Issue
Block a user