diff --git a/web/src/views/DiscussionsView.vue b/web/src/views/DiscussionsView.vue index 19a8e196..496f60e8 100644 --- a/web/src/views/DiscussionsView.vue +++ b/web/src/views/DiscussionsView.vue @@ -517,7 +517,7 @@ export default { } }, scrollToElementInContainer(el, containerId) { - const topPos = el.offsetTop + el.clientHeight; + const topPos = el.offsetTop ; //+ el.clientHeight const container = document.getElementById(containerId) // console.log(el.offsetTop , el.clientHeight, container.clientHeight)