🎨 style: disable y-axis scrolling for semi-layout components
- Hide scrollbars for .semi-layout, .semi-layout-content, and .semi-sider - Set scrollbar width and height to 0 for webkit browsers - Add cross-browser scrollbar hiding support (webkit, firefox, IE/Edge) - Change Content container overflow from 'auto' to 'hidden' on desktop - Remove redundant scrollbar styling (thumb, hover, track styles) This ensures that all semi-layout related components have no visible scrollbars and prevents vertical scrolling functionality entirely. Files modified: - web/src/index.css - web/src/components/layout/PageLayout.js
This commit is contained in:
@@ -134,7 +134,7 @@ const PageLayout = () => {
|
||||
<Content
|
||||
style={{
|
||||
flex: '1 0 auto',
|
||||
overflowY: styleState.isMobile ? 'visible' : 'auto',
|
||||
overflowY: styleState.isMobile ? 'visible' : 'hidden',
|
||||
WebkitOverflowScrolling: 'touch',
|
||||
padding: shouldInnerPadding ? (styleState.isMobile ? '5px' : '24px') : '0',
|
||||
position: 'relative',
|
||||
|
||||
Reference in New Issue
Block a user