dosubot[bot] commented on issue #30879: URL: https://github.com/apache/superset/issues/30879#issuecomment-2464287282
<!-- Answer --> The issue with the unnecessary vertical scrollbar in fullscreen mode could be related to the CSS styling applied to the chart or its container. The `ChartHolder` component uses a fixed position with a high z-index for fullscreen mode, which might be causing layout issues if the dimensions are not correctly calculated or if there is an overflow property set on the container or parent elements <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/components/gridComponents/ChartHolder.tsx)</sup>. To address this, you can check the following: 1. **CSS Overflow Property**: Ensure that there is no `overflow` property set to `auto` or `scroll` on the container or parent elements that might be causing the scrollbar to appear unnecessarily. 2. **Chart Dimensions**: Verify that the chart's width and height are correctly set to the window's inner dimensions minus any margins. This can prevent the scrollbar from appearing if the chart is slightly larger than the viewport. 3. **CSS Styles**: Review any additional CSS styles that might be affecting the layout in fullscreen mode, particularly those related to margins, padding, or positioning. Adjusting these aspects should help in resolving the issue with the scrollbar obscuring UI elements. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
