diff --git a/opencost/src/__snapshots__/details.stories.storyshot b/opencost/src/__snapshots__/details.stories.storyshot index 53b997a..2ca73ff 100644 --- a/opencost/src/__snapshots__/details.stories.storyshot +++ b/opencost/src/__snapshots__/details.stories.storyshot @@ -9,7 +9,7 @@ exports[`Storyshots OpencostDetails Loading State 1`] = ` class="MuiBox-root css-j1fy4m" >
+
{ + event.preventDefault(); + const targetElement = document.getElementById('opencost-plugin-cost-section'); + if (targetElement) { + targetElement.scrollIntoView({ behavior: 'auto' }); + } + }; + return ( - +