style(ideContainer): 优化主内容区域样式

- 在 mainContent 类中添加 relative 定位,以便于后续样式调整
-调整 LogBar 组件的位置,使其紧接在主内容区域之后
- 移除子菜单区域的注释内容
production
钟良源 8 months ago
parent 0ead4403d8
commit 0064a22712

@ -91,7 +91,6 @@ function IDEContainer() {
}} }}
onMoving={handleSubMenuResize} onMoving={handleSubMenuResize}
> >
{/* 这里是子菜单区域,可以根据需要添加具体内容 */}
<div style={{ <div style={{
width: '100%', width: '100%',
height: '100%', height: '100%',
@ -101,10 +100,11 @@ function IDEContainer() {
</div> </div>
</ResizeBox> </ResizeBox>
<div className={styles.mainContent}> <div className={styles.mainContent}>
{renderContent()} {renderContent()}
{urlParams.identity !== 'componentDevelopment' && <LogBar></LogBar>}
</div> </div>
{urlParams.identity !== 'componentDevelopment' && <LogBar></LogBar>}
</div> </div>
<RightSideBar></RightSideBar> <RightSideBar></RightSideBar>

@ -19,6 +19,7 @@
position: relative; position: relative;
.mainContent { .mainContent {
position: relative;
flex: 1; flex: 1;
overflow: auto; overflow: auto;
padding: 16px; padding: 16px;

Loading…
Cancel
Save