Update file explorer.css
Closed
Update file explorer.css
1 unresolved thread
1 unresolved thread
Closes #3452566
Merge request reports
Activity
In this updated CSS:
- .sdc-styleguide-page__viewer-wrapper now has position: relative to ensure its children, including the iframe, are positioned relative to it.
- .sdc-styleguide-viewer__iframe is positioned absolutely within its container to prevent it from affecting the layout of other elements.
- The height of .sdc-styleguide-viewer is adjusted to accommodate the border and padding.
- These changes should resolve the issue with the iframe conflicting with the layout.
Edited by IMMACULATE X25 25 26 26 .sdc-styleguide-page__viewer-wrapper { 27 27 height: 100%; 28 position: relative; /* Ensure the viewer wrapper handles positioning */ 29 overflow: hidden; /* Prevent overflow issues */ 28 30 } 29 31 30 32 .sdc-styleguide-viewer { 31 33 border: 2px dashed #161f50; 32 height: max(250px, 95%); 34 height: calc(100% - 2rem); /* Adjusting the height to accommodate border and padding */
Please register or sign in to reply