index.js
2.24 KB
-
fix: Correct inner padding and sider visibility logic in HeaderBar, PageLayout,… · f65d6eb7
fix: Correct inner padding and sider visibility logic in HeaderBar, PageLayout, and SiderBar components - Updated the click handler in HeaderBar to toggle inner padding and sider visibility correctly based on the selected item. - Adjusted the conditional rendering of SiderBar in PageLayout to ensure it displays when the sider is shown. - Refined the inner padding logic in SiderBar to maintain consistent behavior when selecting items. - Introduced a new function in Style context to manage sider visibility based on the current pathname, enhancing responsiveness to navigation changes.
CalciumIon committed