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

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

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

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

Loading…
Cancel
Save