diff options
Diffstat (limited to 'app/assets/javascripts/diffs/components/shared/findings_drawer.vue')
-rw-r--r-- | app/assets/javascripts/diffs/components/shared/findings_drawer.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/diffs/components/shared/findings_drawer.vue b/app/assets/javascripts/diffs/components/shared/findings_drawer.vue index da880c6f3ca..2cffe928d7b 100644 --- a/app/assets/javascripts/diffs/components/shared/findings_drawer.vue +++ b/app/assets/javascripts/diffs/components/shared/findings_drawer.vue @@ -30,8 +30,8 @@ export default { ALLOWED_ATTR: ['href', 'rel'], }, computed: { - drawerOffsetTop() { - return getContentWrapperHeight('.content-wrapper'); + getDrawerHeaderHeight() { + return getContentWrapperHeight(); }, }, DRAWER_Z_INDEX, @@ -47,7 +47,7 @@ export default { </script> <template> <gl-drawer - :header-height="drawerOffsetTop" + :header-height="getDrawerHeaderHeight" :z-index="$options.DRAWER_Z_INDEX" class="findings-drawer" :open="Object.keys(drawer).length !== 0" |