Skip to content

Commit

Permalink
Ensure #sidebar-bottom-wrapper is a correctly sized and positioned el…
Browse files Browse the repository at this point in the history
…ement so it can be targeted by VTA's guided tour
  • Loading branch information
ghengeveld committed Oct 11, 2024
1 parent 26bfe92 commit 49df30f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/core/src/manager/components/sidebar/SidebarBottom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export const SidebarBottomBase = ({ api, notifications = [], status = {} }: Side
);

useEffect(() => {
const wrapper = document.getElementById('sidebar-bottom');
const wrapper = document.getElementById('sidebar-bottom-wrapper');
if (wrapper) {
const resizeObserver = new ResizeObserver(() => resizeObserverCallback(wrapper));
resizeObserver.observe(wrapper);
Expand Down Expand Up @@ -214,8 +214,8 @@ export const SidebarBottomBase = ({ api, notifications = [], status = {} }: Side
}

return (
<Wrapper id="sidebar-bottom-wrapper" style={{ height: contentHeight }}>
<Content id="sidebar-bottom">
<Wrapper id="sidebar-bottom-spacer" style={{ height: contentHeight }}>
<Content id="sidebar-bottom-wrapper">
<NotificationList notifications={notifications} clearNotification={api.clearNotification} />
<TestingModule
{...{
Expand Down

0 comments on commit 49df30f

Please sign in to comment.