There is not enough margin between the main area and the page edges in some screen width. #6990
Closed
3 of 4 tasks
Labels
area:ux/ui
feature:builtin-charts
feature:st.image
priority:P2
status:confirmed
Bug has been confirmed by the Streamlit team
type:bug
Something isn't working
Checklist
Summary
Normally, the "View fullscreen" button appears like this:
However, in some window width, it goes outside the parent width making the page wider than the window and the horizontal scrollbar appears.
Similar to #6303
Reproducible Code Example
Steps To Reproduce
No response
Expected Behavior
Probably, the breakpoint should be set correctly so that the main area shrinks early and its margin is kept enough with any window width.
Current Behavior
No response
Is this a regression?
Debug info
Additional Information
This problem becomes more noticeable when the app is embedded in an iframe and it is managed with iframe-resizer like the HTML page below:
My hypothesis on what happens here is as follows:
The situation becomes even worse when there are multiple image components with the fullscreen button as the flow described above on each component resonates and the page shakes.
The text was updated successfully, but these errors were encountered: